mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +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:
parent
2db132ebb7
commit
bd01c6ee57
@ -1,9 +1,10 @@
|
|||||||
|
{% load i18n %}
|
||||||
{{ bound_inline.formset.management_form }}
|
{{ bound_inline.formset.management_form }}
|
||||||
<fieldset class="module">
|
<fieldset class="module">
|
||||||
<h2>{{ bound_inline.verbose_name_plural|capfirst|escape }}</h2>
|
<h2>{{ bound_inline.verbose_name_plural|capfirst|escape }}</h2>
|
||||||
<table>
|
<table>
|
||||||
<thead><tr>
|
<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 %}
|
{% for field in bound_inline.fields %}
|
||||||
{% if not field.is_hidden %}
|
{% if not field.is_hidden %}
|
||||||
<th>{{ field.label|capfirst|escape }}</th>
|
<th>{{ field.label|capfirst|escape }}</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user