Skip to content

Commit

Permalink
translate all fiels in /ticket/submit/
Browse files Browse the repository at this point in the history
  • Loading branch information
kotowicz committed Dec 9, 2011
1 parent b79bb6a commit 1d0ac58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helpdesk/templates/helpdesk/create_ticket.html
Expand Up @@ -14,10 +14,10 @@
{% if field.is_hidden %}
{{ field }}
{% else %}
<dt><label for='id_{{ field.name }}'>{{ field.label }}</label>{% if not field.field.required %} <span class='form_optional'>{% trans "(Optional)" %}</span>{% endif %}</dt>
<dt><label for='id_{{ field.name }}'>{% trans field.label %}</label>{% if not field.field.required %} <span class='form_optional'>{% trans "(Optional)" %}</span>{% endif %}</dt>
<dd>{{ field }}</dd>
{% if field.errors %}<dd class='error'>{{ field.errors }}</dd>{% endif %}
{% if field.help_text %}<dd class='form_help_text'>{{ field.help_text }}</dd>{% endif %}</label>
{% if field.errors %}<dd class='error'>{% trans field.errors %}</dd>{% endif %}
{% if field.help_text %}<dd class='form_help_text'>{% trans field.help_text %}</dd>{% endif %}</label>
{% endif %}
{% endfor %}
</dl>
Expand Down

0 comments on commit 1d0ac58

Please sign in to comment.