[2] | 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>Edit 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)}">Manage user information</a> |
---|
| 14 | </li> |
---|
| 15 | </ul> |
---|
| 16 | <div class="toolForm"> |
---|
| 17 | <div class="toolFormTitle">Edit address</div> |
---|
| 18 | <div class="toolFormBody"> |
---|
| 19 | <form name="login_info" id="login_info" action="${h.url_for( controller='user', action='edit_address', admin_view=admin_view, address_id=address_obj.id, user_id=user.id )}" method="post" > |
---|
| 20 | <div class="form-row"> |
---|
| 21 | <label>Short Description:</label> |
---|
| 22 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 23 | <input type="text" name="short_desc" value="${address_obj.desc}" size="40"> |
---|
| 24 | </div> |
---|
| 25 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
| 26 | <div style="clear: both"></div> |
---|
| 27 | </div> |
---|
| 28 | <div class="form-row"> |
---|
| 29 | <label>Name:</label> |
---|
| 30 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 31 | <input type="text" name="name" value="${address_obj.name}" size="40"> |
---|
| 32 | </div> |
---|
| 33 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
| 34 | <div style="clear: both"></div> |
---|
| 35 | </div> |
---|
| 36 | <div class="form-row"> |
---|
| 37 | <label>Institution:</label> |
---|
| 38 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 39 | <input type="text" name="institution" value="${address_obj.institution}" size="40"> |
---|
| 40 | </div> |
---|
| 41 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
| 42 | <div style="clear: both"></div> |
---|
| 43 | </div> |
---|
| 44 | <div class="form-row"> |
---|
| 45 | <label>Address:</label> |
---|
| 46 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 47 | <input type="text" name="address" value="${address_obj.address}" size="40"> |
---|
| 48 | </div> |
---|
| 49 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
| 50 | <div style="clear: both"></div> |
---|
| 51 | </div> |
---|
| 52 | <div class="form-row"> |
---|
| 53 | <label>City:</label> |
---|
| 54 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 55 | <input type="text" name="city" value="${address_obj.city}" size="40"> |
---|
| 56 | </div> |
---|
| 57 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
| 58 | <div style="clear: both"></div> |
---|
| 59 | </div> |
---|
| 60 | <div class="form-row"> |
---|
| 61 | <label>State/Province/Region:</label> |
---|
| 62 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 63 | <input type="text" name="state" value="${address_obj.state}" size="40"> |
---|
| 64 | </div> |
---|
| 65 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
| 66 | <div style="clear: both"></div> |
---|
| 67 | </div> |
---|
| 68 | <div class="form-row"> |
---|
| 69 | <label>Postal Code:</label> |
---|
| 70 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 71 | <input type="text" name="postal_code" value="${address_obj.postal_code}" size="40"> |
---|
| 72 | </div> |
---|
| 73 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
| 74 | <div style="clear: both"></div> |
---|
| 75 | </div> |
---|
| 76 | <div class="form-row"> |
---|
| 77 | <label>Country:</label> |
---|
| 78 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 79 | <input type="text" name="country" value="${address_obj.country}" size="40"> |
---|
| 80 | </div> |
---|
| 81 | <div class="toolParamHelp" style="clear: both;">Required</div> |
---|
| 82 | <div style="clear: both"></div> |
---|
| 83 | </div> |
---|
| 84 | <div class="form-row"> |
---|
| 85 | <label>Phone:</label> |
---|
| 86 | <div style="float: left; width: 250px; margin-right: 10px;"> |
---|
| 87 | <input type="text" name="phone" value="${address_obj.phone}" size="40"> |
---|
| 88 | </div> |
---|
| 89 | <div style="clear: both"></div> |
---|
| 90 | </div> |
---|
| 91 | <div class="form-row"> |
---|
| 92 | <input type="submit" name="edit_address_button" value="Save changes"> |
---|
| 93 | </div> |
---|
| 94 | </form> |
---|
| 95 | </div> |
---|
| 96 | </div> |
---|