mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
Fix: "there are no" instead "there isn't" on the empty form message.
This commit is contained in:
parent
09fcceef13
commit
af82d2b9b1
3 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
{{ inline_form|crispy }}
|
||||
{% if not inline_form.visible_fields %}
|
||||
<p class="alert alert-warning empty-form">
|
||||
{% trans "This form doesn't have visible fields. This doesn't mean there isn't hidden fields." %}
|
||||
{% trans "This form doesn't have visible fields. This doesn't mean there are no hidden fields." %}
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
{% if not inline_form.visible_fields %}
|
||||
<td>
|
||||
<p class="alert alert-warning empty-form">
|
||||
{% trans "This form doesn't have visible fields. This doesn't mean there isn't hidden fields." %}
|
||||
{% trans "This form doesn't have visible fields. This doesn't mean there are no hidden fields." %}
|
||||
</p>
|
||||
</td>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
{{ form|crispy }}
|
||||
{% if not form.visible_fields %}
|
||||
<p class="alert alert-warning empty-form">
|
||||
{% trans "This form doesn't have visible fields. This doesn't mean there isn't hidden fields." %}
|
||||
{% trans "This form doesn't have visible fields. This doesn't mean there are no hidden fields." %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% for formset in inlines %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue