Files
@ 664a5b8c551a
Branch filter:
Location: kallithea/pylons_app/templates/admin/users/user_edit.html - annotation
664a5b8c551a
1.8 KiB
text/html
Added application settings, are now customizable from database
fixed all instances of sqlachemy to be removed() after execution.
fixed all instances of sqlachemy to be removed() after execution.
c8162373f214 20dc7a5eb748 c8162373f214 20dc7a5eb748 c8162373f214 20dc7a5eb748 20dc7a5eb748 c8162373f214 c8162373f214 d982ed8e32d8 20dc7a5eb748 20dc7a5eb748 11e8eb5a92e3 c8162373f214 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 a55c17874486 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 a55c17874486 20dc7a5eb748 20dc7a5eb748 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 a55c17874486 20dc7a5eb748 20dc7a5eb748 a55c17874486 20dc7a5eb748 20dc7a5eb748 aafd9a98ea58 aafd9a98ea58 aafd9a98ea58 aafd9a98ea58 aafd9a98ea58 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 20dc7a5eb748 c8162373f214 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('User administration')}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
/
${_('Users')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
${self.submenu('users')}
</%def>
<%def name="main()">
<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>
<td>${self.get_form_error('username')}</td>
</tr>
<tr>
<td>${_('New password')}</td>
<td>${h.text('new_password')}</td>
<td>${self.get_form_error('new_password')}</td>
</tr>
<tr>
<td>${_('Name')}</td>
<td>${h.text('name')}</td>
<td>${self.get_form_error('name')}</td>
</tr>
<tr>
<td>${_('Lastname')}</td>
<td>${h.text('lastname')}</td>
<td>${self.get_form_error('lastname')}</td>
</tr>
<tr>
<td>${_('Email')}</td>
<td>${h.text('email')}</td>
<td>${self.get_form_error('email')}</td>
</tr>
<tr>
<td>${_('Active')}</td>
<td>${h.checkbox('active',value=True)}</td>
<td>${self.get_form_error('active')}</td>
</tr>
<tr>
<td>${_('Admin')}</td>
<td>${h.checkbox('admin',value=True)}</td>
<td>${self.get_form_error('admin')}</td>
</tr>
<tr>
<td></td>
<td>${h.submit('save','save')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>
|