Skip to content

Commit

Permalink
Merge pull request #230 from open-zaak/issue/fix-inline-display-in-admin
Browse files Browse the repository at this point in the history
change condition to represent inline objects in templates
  • Loading branch information
joeribekker committed Nov 12, 2019
2 parents 6fd0a36 + a221dd6 commit 393b76c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h2>{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}</h2>
{% if inline_admin_form.form.non_field_errors %}
<tr><td colspan="{{ inline_admin_form|cell_count }}">{{ inline_admin_form.form.non_field_errors }}</td></tr>
{% endif %}
<tr class="form-row {% cycle "row1" "row2" %} {# {% if inline_admin_form.original or inline_admin_form.show_url %}has_original{% endif %} #}{% if forloop.last %} empty-form{% endif %}"
<tr class="form-row {% cycle "row1" "row2" %} {# {% if inline_admin_form.original or inline_admin_form.show_url %}has_original{% endif %} #}{% if forloop.last and inline_admin_formset.has_add_permission %} empty-form{% endif %}"
id="{{ inline_admin_formset.formset.prefix }}-{% if not forloop.last %}{{ forloop.counter0 }}{% else %}empty{% endif %}">
<!-- Changed class original to field-original to prevent font-size. -->
<td class="field-original">
Expand Down

0 comments on commit 393b76c

Please sign in to comment.