diff options
Diffstat (limited to 'ishtar_common/templates')
| -rw-r--r-- | ishtar_common/templates/blocks/table_field.html | 2 | ||||
| -rw-r--r-- | ishtar_common/templates/ishtar/wizard/wizard_person.html | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ishtar_common/templates/blocks/table_field.html b/ishtar_common/templates/blocks/table_field.html index 5816a4b90..97d63ef46 100644 --- a/ishtar_common/templates/blocks/table_field.html +++ b/ishtar_common/templates/blocks/table_field.html @@ -1,4 +1,4 @@ <tr{% if required %} class='required'{% endif %}> - <th>{{ field.label_tag }}</th> + <th>{% if label %}{{label}}{% else %}{{ field.label_tag }}{% endif %}</th> <td> {{ field.errors }}{{field|safe}}</td> </tr> diff --git a/ishtar_common/templates/ishtar/wizard/wizard_person.html b/ishtar_common/templates/ishtar/wizard/wizard_person.html index c1806132f..85bbfc75e 100644 --- a/ishtar_common/templates/ishtar/wizard/wizard_person.html +++ b/ishtar_common/templates/ishtar/wizard/wizard_person.html @@ -49,11 +49,11 @@ <hr class='spacer'/> <table class='formset'> <caption>{% trans "Other address" %}</caption> - {% table_field wizard.form.alt_address %} - {% table_field wizard.form.alt_address_complement %} - {% table_field wizard.form.alt_postal_code %} - {% table_field wizard.form.alt_town %} - {% table_field wizard.form.alt_country %} + {% table_field wizard.form.alt_address 0 'Address' %} + {% table_field wizard.form.alt_address_complement 0 'Address complement' %} + {% table_field wizard.form.alt_postal_code 0 'Postal code' %} + {% table_field wizard.form.alt_town 0 'Town' %} + {% table_field wizard.form.alt_country 0 'Country' %} </table> {% endblock %} |
