Remove lowercase from creation form title
This commit is contained in:
parent
df19c5586d
commit
45d12d0b07
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
{% load i18n %}
|
||||
{% block title %}
|
||||
{% if form.instance.adding %}
|
||||
{% blocktranslate with name=form.instance|verbose_name|lower %}Create {{ name }}{% endblocktranslate %}
|
||||
{% blocktranslate with name=form.instance|verbose_name %}Create {{ name }}{% endblocktranslate %}
|
||||
{% else %}
|
||||
{{ form.instance }}
|
||||
{% endif %}
|
||||
|
@ -25,7 +25,7 @@
|
|||
{% block body %}
|
||||
{% with instance=form.instance %}
|
||||
{% if instance.adding %}
|
||||
<h1>{% blocktranslate with name=instance|verbose_name|lower %}Create {{ name }}{% endblocktranslate %}</h1>
|
||||
<h1>{% blocktranslate with name=instance|verbose_name %}Create {{ name }}{% endblocktranslate %}</h1>
|
||||
{% else %}
|
||||
<h1>
|
||||
{% block h1 %}{{ instance }}{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue