Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Negligible spacing change to admin/templates/admin/field_line.html

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 350c36077664154b1a4d86d670b33c72d7591d98 1 parent 5099424
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 django/contrib/admin/templates/admin/field_line.html
View
8 django/contrib/admin/templates/admin/field_line.html
@@ -2,13 +2,9 @@
<div class="{{ class_names }}" >
{% 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 %}<p class="help">{{ bound_field.field.help_text }}</p>{% endif %}
{% endfor %}
</div>

0 comments on commit 350c360

Please sign in to comment.
Something went wrong with that request. Please try again.