1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

newforms-admin: Fixed #5250 -- Added translation hook to 'Delete' in admin edit_inline_tabular.html template

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-09-02 20:06:22 +00:00
parent 2db132ebb7
commit bd01c6ee57

View File

@ -1,9 +1,10 @@
{% load i18n %}
{{ bound_inline.formset.management_form }}
<fieldset class="module">
<h2>{{ bound_inline.verbose_name_plural|capfirst|escape }}</h2>
<table>
<thead><tr>
{% if bound_inline.formset.deletable %}<th>Delete?</th>{% endif %}
{% if bound_inline.formset.deletable %}<th>{% trans "Delete" %}?</th>{% endif %}
{% for field in bound_inline.fields %}
{% if not field.is_hidden %}
<th>{{ field.label|capfirst|escape }}</th>
@ -90,4 +91,4 @@
{% endfor %}
{% endfor %}
</fieldset>
{% endcomment %}
{% endcomment %}