diff --git a/contacts/templates/contacts/contact_edit.html b/contacts/templates/contacts/contact_edit.html deleted file mode 100644 index 1ec4f20d0d..0000000000 --- a/contacts/templates/contacts/contact_edit.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "myhome_base.html" %} - -{% block nav_contacts_class %}class="cur"{% endblock %} - -{% block main_panel %} -
-

编辑联系人(联系人列表)

-
- {{ form.user_email.as_hidden }} - - {{ form.contact_email }} - - {{ form.contact_name }} - - {{ form.note }} -

- {% for field in form %} - {{ field.errors }} - {% endfor %} - {{ form.non_field_errors }} -

- -
-
-{% endblock %} diff --git a/contacts/templates/contacts/contact_list.html b/contacts/templates/contacts/contact_list.html index d706acdfa2..29cb677a07 100644 --- a/contacts/templates/contacts/contact_list.html +++ b/contacts/templates/contacts/contact_list.html @@ -34,12 +34,61 @@

请输入邮箱地址。

+
+

编辑联系人

+ {{ edit_form.user_email.as_hidden }} +
+ {{ edit_form.contact_email }}
+
{{ edit_form.contact_name }}
+
{{ edit_form.note }}
+

+ +
+ {% endblock %} {% block extra_script %}