diff options
| author | Tim Graham <timograham@gmail.com> | 2017-04-19 12:59:30 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-04-19 12:59:53 -0400 |
| commit | cf1e682c8c68d7187c34f46f2717b22f830d92a1 (patch) | |
| tree | 9bd53b6aace19b14efc7ceeca0ee0503a9c99411 /django | |
| parent | fd983bcb50a4fd610f6b9918bca6efa858eeffec (diff) | |
[1.11.x] Fixed #28097 -- Fixed layout of ReadOnlyPasswordHashWidget.
Backport of dff559ff83a6aac14de0bbca58101786edf4195f from master
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/auth/templates/auth/widgets/read_only_password_hash.html | 4 |
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> |
