# HG changeset patch # User Pawel Solyga # Date 1223575610 0 # Node ID 5905c8e97e68f070de23cca2421964518d01a95a # Parent 2a92b866ed4025c6abb0ff46ad1497f2fb6aa2a5 Create a submit_buttons blocks in all edit view templates and put submit buttons in separate html table (not as part of the fields table anymore). Patch by: Pawel Solyga Review by: to-be-reviewed diff -r 2a92b866ed40 -r 5905c8e97e68 app/soc/templates/soc/group/profile/edit.html --- a/app/soc/templates/soc/group/profile/edit.html Thu Oct 09 15:10:51 2008 +0000 +++ b/app/soc/templates/soc/group/profile/edit.html Thu Oct 09 18:06:50 2008 +0000 @@ -56,7 +56,9 @@   - + +
+ {% block submit_buttons %} +
diff -r 2a92b866ed40 -r 5905c8e97e68 app/soc/templates/soc/site/docs/edit.html --- a/app/soc/templates/soc/site/docs/edit.html Thu Oct 09 15:10:51 2008 +0000 +++ b/app/soc/templates/soc/site/docs/edit.html Thu Oct 09 18:06:50 2008 +0000 @@ -45,13 +45,17 @@
 
+ + {% block submit_buttons %} + {% endblock %}
diff -r 2a92b866ed40 -r 5905c8e97e68 app/soc/templates/soc/site/home/edit.html --- a/app/soc/templates/soc/site/home/edit.html Thu Oct 09 15:10:51 2008 +0000 +++ b/app/soc/templates/soc/site/home/edit.html Thu Oct 09 18:06:50 2008 +0000 @@ -36,15 +36,18 @@   - - - - - - - - - + + + {% block submit_buttons %} + + + {% endblock %} + +
+ + + +

{% endblock %} diff -r 2a92b866ed40 -r 5905c8e97e68 app/soc/templates/soc/site/user/profile/edit.html --- a/app/soc/templates/soc/site/user/profile/edit.html Thu Oct 09 15:10:51 2008 +0000 +++ b/app/soc/templates/soc/site/user/profile/edit.html Thu Oct 09 18:06:50 2008 +0000 @@ -68,20 +68,23 @@   - - - - - - - -{% if submit_error %} - - {{ submit_error }} - -{% endif %} - - + + + {% block submit_buttons %} + + + {% if submit_error %} + + {% endif %} + {% endblock %} + +
+ + + + + {{ submit_error }} +

{% endblock %} diff -r 2a92b866ed40 -r 5905c8e97e68 app/soc/templates/soc/user/profile/edit.html --- a/app/soc/templates/soc/user/profile/edit.html Thu Oct 09 15:10:51 2008 +0000 +++ b/app/soc/templates/soc/user/profile/edit.html Thu Oct 09 18:06:50 2008 +0000 @@ -35,13 +35,17 @@   + + + {% block submit_buttons %} + {% endblock %}