summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-04-19 12:59:30 -0400
committerGitHub <noreply@github.com>2017-04-19 12:59:30 -0400
commitdff559ff83a6aac14de0bbca58101786edf4195f (patch)
treead630eb09ba1aaf8989dc4294c7855611ec9f56d /django
parentcd7afcdcac69cc4e6f762188262957bceb4760e0 (diff)
Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/auth/templates/auth/widgets/read_only_password_hash.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/django/contrib/auth/templates/auth/widgets/read_only_password_hash.html b/django/contrib/auth/templates/auth/widgets/read_only_password_hash.html
index b411298d74..a2a12c6f10 100644
--- a/django/contrib/auth/templates/auth/widgets/read_only_password_hash.html
+++ b/django/contrib/auth/templates/auth/widgets/read_only_password_hash.html
@@ -1,3 +1,5 @@
+<div{% include 'django/forms/widgets/attrs.html' %}>
{% for entry in summary %}
-<div{% include 'django/forms/widgets/attrs.html' %}><strong>{{ entry.label }}</strong>{% if entry.value %}: {{ entry.value }}{% endif %}
+<strong>{{ entry.label }}</strong>{% if entry.value %}: {{ entry.value }}{% endif %}
{% endfor %}
+</div>