Ticket #5250: i18n_delete-6000.2.diff
File i18n_delete-6000.2.diff, 760 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/templates/admin/edit_inline_tabular.html
1 {% load i18n %} 1 2 {{ bound_inline.formset.management_form }} 2 3 <fieldset class="module"> 3 4 <h2>{{ bound_inline.verbose_name_plural|capfirst|escape }}</h2> … … 3 4 <table> 4 5 <thead><tr> 5 {% if bound_inline.formset.deletable %}<th> Delete?</th>{% endif %}6 {% if bound_inline.formset.deletable %}<th>{% trans "Delete" %}?</th>{% endif %} 6 7 {% for field in bound_inline.fields %} 7 8 {% if not field.is_hidden %}