Ticket #5765: 5765.diff

File 5765.diff, 1.5 KB (added by Honza Král, 17 years ago)
  • django/contrib/admin/templates/admin/edit_inline/stacked.html

    diff --git a/django/contrib/admin/templates/admin/edit_inline/stacked.html b/django/contrib/admin/templates/admin/edit_inline/stacked.html
    index 3cd0a43..dcb72f1 100644
    a b  
    22<div class="inline-group">
    33{{ inline_admin_formset.formset.management_form }}
    44{# <h3 class="header">{{ inline_admin_formset.opts.verbose_name_plural|title }}</h3> #}
     5{{ inline_admin_formset.formset.non_form_errors }}
    56
    67{% for inline_admin_form in inline_admin_formset %}
    78<div class="inline-related {% if forloop.last %}last-related{% endif %}">
     
    2223{# <ul class="tools"> #}
    2324{#   <li><a class="add" href="">Add another {{ inline_admin_formset.opts.verbose_name|title }}</a></li> #}
    2425{# </ul> #}
    25 </div>
    26  No newline at end of file
     26</div>
  • django/contrib/admin/templates/admin/edit_inline/tabular.html

    diff --git a/django/contrib/admin/templates/admin/edit_inline/tabular.html b/django/contrib/admin/templates/admin/edit_inline/tabular.html
    index 16bb14d..3e0de70 100644
    a b  
    44{{ inline_admin_formset.formset.management_form }}
    55<fieldset class="module">
    66   <h2>{{ inline_admin_formset.opts.verbose_name_plural|capfirst|escape }}</h2>
     7   {{ inline_admin_formset.formset.non_form_errors }}
    78   <table>
    89     <thead><tr>
    910     {% for field in inline_admin_formset.fields %}
Back to Top