Added missing 'required' helptext to all forms.

This commit is contained in:
Emanuel Schuetze 2012-04-26 17:50:46 +02:00
parent aac48a0b02
commit 3bcf4fd9c3
9 changed files with 21 additions and 5 deletions

View File

@ -8,6 +8,7 @@
<h1>{%trans "Edit item" %}</h1>
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
<p>
<button class="button" type="submit">
<span class="icon ok">{%trans 'Save' %}</span>
</button>
@ -19,5 +20,7 @@
<span class="icon cancel">{%trans 'Cancel' %}</span>
</button>
</a>
</p>
<small>* {%trans "required" %}</small>
</form>
{% endblock %}

View File

@ -15,7 +15,6 @@
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
{{ managerform.as_p }}
<small>* {%trans "required" %}</small>
<p>
<button class="button" type="submit">
<span class="icon ok">{%trans 'Save' %}</span>
@ -29,6 +28,7 @@
</button>
</a>
</p>
<small>* {%trans "required" %}</small>
</form>
{% endblock %}

View File

@ -18,6 +18,7 @@
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
{{ form.as_p }}
<p>
<button class="button" type="submit">
<span class="icon import">{%trans 'Import' %}</span>
</button>
@ -26,6 +27,7 @@
<span class="icon cancel">{%trans 'Cancel' %}</span>
</button>
</a>
</p>
<small>* {%trans "required" %}</small>
</form>
</p>
{% endblock %}

View File

@ -13,6 +13,7 @@
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
<p>
<button class="button" type="submit">
<span class="icon ok">{%trans 'Save' %}</span>
</button>
@ -24,5 +25,7 @@
<span class="icon cancel">{%trans 'Cancel' %}</span>
</button>
</a>
</p>
<small>* {% trans "required." %}</small>
</form>
{% endblock %}

View File

@ -932,7 +932,7 @@ msgstr "Formale Gültigkeitsprüfung"
#: application/templates/application/view.html:146
msgid "Publish"
msgstr "Veröffentlen"
msgstr "Veröffentlichen"
#: application/templates/application/view.html:149
msgid "Permit"

View File

@ -17,6 +17,7 @@
{% if edituser %}
<p><a href="{% url user_reset_password edituser.id %}">{% trans 'Reset to First Password' %}</a></p>
{% endif %}
<p>
<button class="button" type="submit">
<span class="icon ok">{%trans 'Save' %}</span>
</button>
@ -28,5 +29,7 @@
<span class="icon cancel">{%trans 'Cancel' %}</span>
</button>
</a>
</p>
<small>* {% trans "required." %}</small>
</form>
{% endblock %}

View File

@ -13,6 +13,7 @@
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
<p>
<button class="button" type="submit">
<span class="icon ok">{%trans 'Save' %}</span>
</button>
@ -24,5 +25,7 @@
<span class="icon cancel">{%trans 'Cancel' %}</span>
</button>
</a>
</p>
<small>* {% trans "required." %}</small>
</form>
{% endblock %}

View File

@ -18,6 +18,7 @@
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
{{ form.as_p }}
<p>
<button class="button" type="submit">
<span class="icon import">{%trans 'Import' %}</span>
</button>
@ -26,6 +27,7 @@
<span class="icon cancel">{%trans 'Cancel' %}</span>
</button>
</a>
</p>
<small>* {% trans "required." %}</small>
</form>
</p>
{% endblock %}

View File

@ -513,7 +513,7 @@ ul.results {
#footer {
border-top:1px solid #CCCCCC;
font-size:12px;
margin:40px 0 0;
margin:20px 0 0;
padding:5px 0;
clear: both;
}