diff --git a/django/contrib/admin/templates/admin/auth/user/change_password.html b/django/contrib/admin/templates/admin/auth/user/change_password.html
index f1c4a8d..4653934 100644
a
|
b
|
|
14 | 14 | </div> |
15 | 15 | {% endif %}{% endblock %} |
16 | 16 | {% block content %}<div id="content-main"> |
17 | | <form action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">{% block form_top %}{% endblock %} |
| 17 | <form method="post" id="{{ opts.module_name }}_form">{% block form_top %}{% endblock %} |
18 | 18 | <div> |
19 | 19 | {% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %} |
20 | 20 | {% if form.errors %} |
diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html
index e8df6b9..b94e5fa 100644
a
|
b
|
|
3 | 3 | |
4 | 4 | {% block extrahead %}{{ block.super }} |
5 | 5 | <script type="text/javascript" src="../../../jsi18n/"></script> |
6 | | {{ media }} |
| 6 | {% if media %}{{ media }}{% endif %} |
7 | 7 | {% endblock %} |
8 | 8 | |
9 | 9 | {% block stylesheet %}{% admin_media_prefix %}css/forms.css{% endblock %} |
… |
… |
|
28 | 28 | </ul> |
29 | 29 | {% endif %}{% endif %} |
30 | 30 | {% endblock %} |
31 | | <form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">{% block form_top %}{% endblock %} |
| 31 | <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 %} |
32 | 32 | <div> |
33 | 33 | {% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %} |
34 | 34 | {% if save_on_top %}{% submit_row %}{% endif %} |
diff --git a/django/contrib/admin/templates/admin/change_list_results.html b/django/contrib/admin/templates/admin/change_list_results.html
index 381dcb5..321a02c 100644
a
|
b
|
|
2 | 2 | <table cellspacing="0"> |
3 | 3 | <thead> |
4 | 4 | <tr> |
5 | | {% for header in result_headers %}<th{{ header.class_attrib }}> |
6 | | {% if header.sortable %}<a href="{{ header.url }}">{% endif %} |
| 5 | {% for header in result_headers %}{% if not header.sortable %}<th>{% endif %} |
| 6 | {% if header.sortable %}<th{{ header.class_attrib }}><a href="{{ header.url }}">{% endif %} |
7 | 7 | {{ header.text|capfirst }} |
8 | 8 | {% if header.sortable %}</a>{% endif %}</th>{% endfor %} |
9 | 9 | </tr> |