##// END OF EJS Templates
Added new style error display,...
Added new style error display, fixed changing repo name to existing one some sa session remove added rename repo BIG bug, when renaming to existing name was fixed

File last commit:

r238:a55c1787 default
r356:b0715a78 default
Show More
user_add.html
57 lines | 1.5 KiB | text/html | HtmlLexer
## -*- 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')} - ${_('add new')}</h2>
${h.form(url('users'))}
<table>
<tr>
<td>${_('Username')}</td>
<td>${h.text('username')}</td>
<td>${self.get_form_error('username')}</td>
</tr>
<tr>
<td>${_('Password')}</td>
<td>${h.password('password')}</td>
<td>${self.get_form_error('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></td>
<td>${h.submit('save','save')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>