1 | <%inherit file="/base.mako"/> |
---|
2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
3 | |
---|
4 | %if message: |
---|
5 | ${render_msg( message, status )} |
---|
6 | %endif |
---|
7 | </br> |
---|
8 | </br> |
---|
9 | <h3>Add new address</h3> |
---|
10 | |
---|
11 | <ul class="manage-table-actions"> |
---|
12 | <li> |
---|
13 | <a class="action-button" href="${h.url_for( controller='user', action='show_info', admin_view=admin_view, user_id=user.id)}"> |
---|
14 | <span>Manage User Information</span></a> |
---|
15 | </li> |
---|
16 | </ul> |
---|
17 | <div class="toolForm"> |
---|
18 | <div class="toolFormTitle">Add new address</div> |
---|
19 | <div class="toolFormBody"> |
---|
20 | <form name="login_info" id="login_info" action="${h.url_for( controller='user', action='new_address', admin_view=admin_view, user_id=user.id )}" method="post" > |
---|
21 | <div class="form-row"> |
---|
22 | <label>Short Description:</label> |
---|
23 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
24 | <input type="text" name="short_desc" value="${short_desc}" size="40"> |
---|
25 | </div> |
---|
26 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
27 | <div style="clear: both"></div> |
---|
28 | </div> |
---|
29 | <div class="form-row"> |
---|
30 | <label>Name:</label> |
---|
31 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
32 | <input type="text" name="name" value="${name}" size="40"> |
---|
33 | </div> |
---|
34 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
35 | <div style="clear: both"></div> |
---|
36 | </div> |
---|
37 | <div class="form-row"> |
---|
38 | <label>Institution:</label> |
---|
39 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
40 | <input type="text" name="institution" value="${institution}" size="40"> |
---|
41 | </div> |
---|
42 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
43 | <div style="clear: both"></div> |
---|
44 | </div> |
---|
45 | <div class="form-row"> |
---|
46 | <label>Address:</label> |
---|
47 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
48 | <input type="text" name="address" value="${address}" size="40"> |
---|
49 | </div> |
---|
50 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
51 | <div style="clear: both"></div> |
---|
52 | </div> |
---|
53 | <div class="form-row"> |
---|
54 | <label>City:</label> |
---|
55 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
56 | <input type="text" name="city" value="${city}" size="40"> |
---|
57 | </div> |
---|
58 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
59 | <div style="clear: both"></div> |
---|
60 | </div> |
---|
61 | <div class="form-row"> |
---|
62 | <label>State/Province/Region:</label> |
---|
63 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
64 | <input type="text" name="state" value="${state}" size="40"> |
---|
65 | </div> |
---|
66 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
67 | <div style="clear: both"></div> |
---|
68 | </div> |
---|
69 | <div class="form-row"> |
---|
70 | <label>Postal Code:</label> |
---|
71 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
72 | <input type="text" name="postal_code" value="${postal_code}" size="40"> |
---|
73 | </div> |
---|
74 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
75 | <div style="clear: both"></div> |
---|
76 | </div> |
---|
77 | <div class="form-row"> |
---|
78 | <label>Country:</label> |
---|
79 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
80 | <input type="text" name="country" value="${country}" size="40"> |
---|
81 | </div> |
---|
82 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
83 | <div style="clear: both"></div> |
---|
84 | </div> |
---|
85 | <div class="form-row"> |
---|
86 | <label>Phone:</label> |
---|
87 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
88 | <input type="text" name="phone" value="${phone}" size="40"> |
---|
89 | </div> |
---|
90 | <div style="clear: both"></div> |
---|
91 | </div> |
---|
92 | <div class="form-row"> |
---|
93 | <input type="submit" name="new_address_button" value="Save"> |
---|
94 | </div> |
---|
95 | </form> |
---|
96 | </div> |
---|
97 | </div> |
---|