# HG changeset patch # User Sverre Rabbelier # Date 1233152206 0 # Node ID d6a9fef4c1a432bc4f5ce4572074c00ae1d6570d # Parent 71ff49dbb4b6cf3c831b8d8cc6a2f2da9aa89f89 Make the user/edit.html template derive from soc/models/edit.html Patch by: Sverre Rabbelier diff -r 71ff49dbb4b6 -r d6a9fef4c1a4 app/soc/templates/soc/user/edit.html --- a/app/soc/templates/soc/user/edit.html Wed Jan 28 14:15:00 2009 +0000 +++ b/app/soc/templates/soc/user/edit.html Wed Jan 28 14:16:46 2009 +0000 @@ -1,4 +1,4 @@ -{% extends "soc/base.html" %} +{% extends "soc/models/edit.html" %} {% comment %} Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,27 +14,7 @@ {% endcomment %} {% load forms_helpers %} -{% block scripts %} - -{% endblock %} -{% block header_title %} -{{ page_name }} - {% if entity %} - - {% if entity.name %}{{ entity.name }} {% endif %}(public view) - {% endif %} -{% endblock %} - -{% block body %} -

-

-{% block instructions %} -Please use this form to edit the {{ entity_type }}. -{% endblock %} -

-
- +{% block form_table %} {% as_table form %} {% if entity.former_accounts %} @@ -48,27 +28,4 @@ {% endif %} - - - -
 
 
- - - {% block submit_buttons %} - - - {% if entity %} - - {% endif %} - {% endblock %} - -
- - - - - -
-
-

-{% endblock %} \ No newline at end of file +{% endblock %}