This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
themis.datatypes/themis/datatypes/address_input.pt

62 lines
2.7 KiB
XML

<div lang="en"
xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="plone.app.textfield"
tal:attributes="id view/id">
<tal:define define="fieldName view/name">
<style type="text/css">
.address { margin-left: 2em; }
</style>
<div class="address">
<div class="fieldTitle">
<label>Title</label>
<input type="text" tal:attributes="id string:${fieldName}_title;
name string:${fieldName}.title;
value view/value/title"/>
</div>
<div class="fieldStreet">
<label>Street</label>
<input type="text" tal:attributes="id string:${fieldName}_street;
name string:${fieldName}.street;
value view/value/street"/>
</div>
<div class="fieldZipCode">
<label>Zip Code</label>
<input type="text" size="6" tal:attributes="id string:${fieldName}_zipcode;
name string:${fieldName}.zipcode;
value view/value/zipcode"/>
<label>City</label>
<input type="text" tal:attributes="id string:${fieldName}_city;
name string:${fieldName}.city;
value view/value/city"/>
</div>
<div class="fieldContacts">
<label>Phone</label>
<input type="text" tal:attributes="id string:${fieldName}_phone1;
name string:${fieldName}.phone1;
value view/value/phone1"/>
<label>Phone (2)</label>
<input type="text" tal:attributes="id string:${fieldName}_phone2;
name string:${fieldName}.phone2;
value view/value/phone2"/>
<br/>
<label>Fax</label>
<input type="text" tal:attributes="id string:${fieldName}_fax;
name string:${fieldName}.fax;
value view/value/fax"/>
<label>Email</label>
<input type="text" tal:attributes="id string:${fieldName}_email;
name string:${fieldName}.email;
value view/value/email"/>
</div>
</div>
</tal:define>
</div>