mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #4548 -- Added username hint to admin's change_password form.
This commit is contained in:
committed by
Tim Graham
parent
686a593aaa
commit
5d8375fe66
@@ -20,6 +20,7 @@
|
||||
{% endif %}
|
||||
{% block content %}<div id="content-main">
|
||||
<form action="{{ form_url }}" method="post" id="{{ opts.model_name }}_form">{% csrf_token %}{% block form_top %}{% endblock %}
|
||||
<input type="text" name="username" value="{{ original.get_username }}" style="display: none" />
|
||||
<div>
|
||||
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
|
||||
{% if form.errors %}
|
||||
|
||||
Reference in New Issue
Block a user