Files
@ 11e8eb5a92e3
Branch filter:
Location: kallithea/pylons_app/templates/admin/users/user_edit.html - annotation
11e8eb5a92e3
1.2 KiB
text/html
new way of menu generation for base, and all admin pages
20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 11e8eb5a92e3 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 | <%inherit file="/base/base.html"/>
<%def name="title()">
${_('User')} - ${c.user.username}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
/
${h.link_to(u'Users',h.url('users'))}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<ul class="submenu">
<li>
${h.link_to(u'Repos',h.url('repos'))}
</li>
<li class="current_submenu">
${h.link_to(u'Users',h.url('users'))}
</li>
</ul>
<div>
<h2>${_('User')} - ${c.user.username}</h2>
${h.form(url('user', id=c.user.user_id),method='put')}
<table>
<tr>
<td>${_('Username')}</td>
<td>${h.text('username')}</td>
</tr>
<tr>
<td>${_('New password')}</td>
<td>${h.text('new_password')}</td>
</tr>
<tr>
<td>${_('Active')}</td>
<td>${h.checkbox('active',value=True)}</td>
</tr>
<tr>
<td></td>
<td>${h.submit('save','save')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>
|