PageRenderTime 20ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/templates/user/new_address.mako

https://bitbucket.org/h_morita_dbcls/galaxy-central
Mako | 33 lines | 30 code | 3 blank | 0 comment | 2 complexity | f1687da02d2a5da7b3db5af8b219ec70 MD5 | raw file
 1<%inherit file="/base.mako"/>
 2<%namespace file="/message.mako" import="render_msg" />
 3
 4
 5%if message:
 6    ${render_msg( message, status )}
 7%endif
 8</br>
 9</br>
10<h3>New address</h3>
11
12<ul class="manage-table-actions">
13    <li>
14        <a class="action-button"  href="${h.url_for( controller='user', action='show_info', admin_view=admin_view, user_id=user.id)}">
15        <span>Manage User Information</span></a>
16    </li>
17</ul>
18<div class="toolForm">
19<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" >
20    <div class="toolFormTitle">New address</div>
21    <div class="toolFormBody">
22        %for field in widgets:
23            <div class="form-row">
24                <label>${field[ 'label' ]}</label>
25                ${field[ 'widget' ].get_html()}
26            </div>
27        %endfor
28        <div class="form-row">
29            <input type="submit" name="save_new_address_button" value="Save">
30        </div>
31    </div>
32</form>
33</div>