/
newaddress.jade
30 lines (28 loc) · 1.23 KB
/
newaddress.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
div.ui-widget-content.ui-corner-all.contacts
h3.ui-widget-header.ui-corner-all New Address for #{contact.name}
- if (error)
div.ui-state-error.ui-corner-all
span.ui-icon.ui-icon-alert
#{error}
p Adding a new address of an existing type will not generate an error, it will overwrite the current one. So beware!
div
form(method="post")
fieldset
legend new address
p
label(for="addressType") Address type
select(name="addressType")
option(value="PRIVATE") private
option(value="WORK") work
option(value="VACATION") vacation
p
label(for="streetAndNumber") Street and number
input(type="text", name="streetAndNumber", size="50")
p
label(for="zipCode") Zip code
input(type="text", name="zipCode", size="10")
p
label(for="city") City
input(type="text", name="city", size="50")
p.buttons
input(type="submit", value="Create")