summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-27 21:49:00 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-27 21:56:34 +0200
commit64da49c224d9c8b8271f81bfcc1328d5cc65f5d2 (patch)
treebe28b6af27e8dd9750c93ba7296c25363eedb08e /ishtar_common/templates
parent77a0f47a7b3bfc8cf4abef63f061bb8b11383f2e (diff)
downloadIshtar-64da49c224d9c8b8271f81bfcc1328d5cc65f5d2.tar.bz2
Ishtar-64da49c224d9c8b8271f81bfcc1328d5cc65f5d2.zip
Person - organization: add precise town field
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/sheet_person.html5
-rw-r--r--ishtar_common/templates/ishtar/wizard/wizard_person.html1
2 files changed, 4 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/sheet_person.html b/ishtar_common/templates/ishtar/sheet_person.html
index dd9dc6be5..170d088ee 100644
--- a/ishtar_common/templates/ishtar/sheet_person.html
+++ b/ishtar_common/templates/ishtar/sheet_person.html
@@ -48,13 +48,14 @@
</table>
{% endif %}
-{% if item.address or item.postal_code or item.town %}
+{% if item.address or item.postal_code or item.town or item.precise_town %}
<h3>{% trans "Business address" %}</h3>
<div class="row">
{% field_flex "Address" item.address %}
{% field_flex "Address complement" item.address_complement %}
{% field_flex "Postal code" item.postal_code %}
- {% field_flex "Town" item.town %}
+ {% field_flex "Town (freeform)" item.town %}
+ {% field_flex "Town" item.precise_town %}
</div>{% endif %}
{% if item.alt_address or item.alt_postal_code or item.alt_town %}
diff --git a/ishtar_common/templates/ishtar/wizard/wizard_person.html b/ishtar_common/templates/ishtar/wizard/wizard_person.html
index 39aa76518..5be43cec7 100644
--- a/ishtar_common/templates/ishtar/wizard/wizard_person.html
+++ b/ishtar_common/templates/ishtar/wizard/wizard_person.html
@@ -69,6 +69,7 @@
{% bs_field wizard.form.address_complement %}
{% bs_field wizard.form.postal_code %}
{% bs_field wizard.form.town %}
+ {% bs_field wizard.form.precise_town %}
{% bs_field wizard.form.country %}
</div>
</div>