summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/organization_form.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2014-12-28 01:15:07 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-05-06 15:38:32 +0200
commit3b557c928dc57942d4e9496b7730504bc44ad1eb (patch)
treecf7782840ce79aee720cf3b6c55571ab0b2e7c8e /ishtar_common/templates/ishtar/organization_form.html
parent16fbb32b8ba00325a7b813825f288cb097699c98 (diff)
downloadIshtar-3b557c928dc57942d4e9496b7730504bc44ad1eb.tar.bz2
Ishtar-3b557c928dc57942d4e9496b7730504bc44ad1eb.zip
Work on dynamic (too much of ajax and JS...) person/organization widget
Diffstat (limited to 'ishtar_common/templates/ishtar/organization_form.html')
-rw-r--r--ishtar_common/templates/ishtar/organization_form.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/organization_form.html b/ishtar_common/templates/ishtar/organization_form.html
new file mode 100644
index 000000000..207116c21
--- /dev/null
+++ b/ishtar_common/templates/ishtar/organization_form.html
@@ -0,0 +1,30 @@
+{% load i18n %}<table class='organization'>
+<tr>
+ <th><label>{{form.name.label}}</label></th>
+ <td>{{form.name}}</td>
+</tr>
+</table>
+{% for hidden in form.hidden_fields %}{{hidden}}{% endfor %}
+<table class='organization-address'>
+<tr>
+ <th><label>{{form.organization_type.label}}</label></th>
+ <td>{{form.organization_type}}</td>
+</tr>
+<tr>
+ <th><label>{{form.address.label}}</label></th>
+ <td>{{form.address}}</td>
+</tr>
+<tr>
+ <th><label>{{form.address_complement.label}}</label></th>
+ <td>{{form.address_complement}}</td>
+</tr>
+<tr>
+ <th><label>{{form.postal_code.label}}</label></th>
+ <td>{{form.postal_code}}</td>
+</tr>
+<tr>
+ <th><label>{{form.town.label}}</label></th>
+ <td>{{form.town}}</td>
+</tr>
+</table>
+