summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/table_field.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-08 03:31:08 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-04-15 21:54:18 +0200
commitc474263518651eb1a89caeb73e3df5913239c03c (patch)
tree146fc8b2008cbfc063bfbd391b6368ed964fb1b7 /ishtar_common/templates/blocks/table_field.html
parente5a37eb82dd3348b081fdb017168fc0bdfab2b19 (diff)
downloadIshtar-c474263518651eb1a89caeb73e3df5913239c03c.tar.bz2
Ishtar-c474263518651eb1a89caeb73e3df5913239c03c.zip
Person form: improve alternate address label
Diffstat (limited to 'ishtar_common/templates/blocks/table_field.html')
-rw-r--r--ishtar_common/templates/blocks/table_field.html2
1 files changed, 1 insertions, 1 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>