Skip to content

Commit

Permalink
fixed wrong error classes in grp-tabular
Browse files Browse the repository at this point in the history
  • Loading branch information
parsch committed Oct 11, 2012
1 parent 6a865fb commit abc4c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grappelli/templates/admin/edit_inline/tabular.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h3 style="display: none;"><b>{{ inline_admin_formset.opts.verbose_name|title }}
{% for line in fieldset %}
{% for field in line %}
{% if not field.field.is_hidden %}
<div class="grp-td {{ field.field.name }} {% if field.field.errors %} grp-error{% endif %}">
<div class="grp-td {{ field.field.name }} {% if field.field.errors %} grp-errors{% endif %}">
{% if field.is_readonly %}
<p class="grp-readonly">{{ field.contents }}</p>
{% else %}
Expand Down

0 comments on commit abc4c2d

Please sign in to comment.