diff --git a/django/contrib/admin/templates/admin/field_line.html b/django/contrib/admin/templates/admin/field_line.html
index b7e2fc2ae0..680830b506 100644
--- a/django/contrib/admin/templates/admin/field_line.html
+++ b/django/contrib/admin/templates/admin/field_line.html
@@ -2,13 +2,9 @@
{% for bound_field in bound_fields %}{{ bound_field.html_error_list }}{% endfor %}
{% for bound_field in bound_fields %}
- {% if bound_field.has_label_first %}
- {% field_label bound_field %}
- {% endif %}
+ {% if bound_field.has_label_first %}{% field_label bound_field %}{% endif %}
{% field_widget bound_field %}
- {% if not bound_field.has_label_first %}
- {% field_label bound_field %}
- {% endif %}
+ {% if not bound_field.has_label_first %}{% field_label bound_field %}{% endif %}
{% if bound_field.field.help_text %}
{{ bound_field.field.help_text }}
{% endif %}
{% endfor %}