Ticket #3579: 3579.patch.txt

File 3579.patch.txt, 1.0 KB (added by buriy <burchik@…>, 17 years ago)

First piece

Line 
1Index: D:/program/Python24/Lib/site-packages/django-svn/django/contrib/admin/templates/admin/change_form.html
2===================================================================
3--- D:/program/Python24/Lib/site-packages/django-svn/django/contrib/admin/templates/admin/change_form.html (revision 5418)
4+++ D:/program/Python24/Lib/site-packages/django-svn/django/contrib/admin/templates/admin/change_form.html (working copy)
5@@ -23,7 +23,7 @@
6 </ul>
7 {% endif %}{% endif %}
8 {% endblock %}
9-<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">{% block form_top %}{% endblock %}
10+<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}{% if form_url %}action="{{ form_url }}" {% endif %}method="post" id="{{ opts.module_name }}_form">{% block form_top %}{% endblock %}
11 <div>
12 {% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
13 {% if opts.admin.save_on_top %}{% submit_row %}{% endif %}
Back to Top