user_add.html
39 lines
| 917 B
| text/html
|
HtmlLexer
r216 | ## -*- coding: utf-8 -*- | ||
r127 | <%inherit file="/base/base.html"/> | ||
r216 | |||
r127 | <%def name="title()"> | ||
r216 | ${_('User administration')} | ||
r127 | </%def> | ||
<%def name="breadcrumbs()"> | |||
r216 | ${h.link_to(u'Admin',h.url('admin_home'))} | ||
/ | |||
r127 | </%def> | ||
<%def name="page_nav()"> | |||
r182 | ${self.menu('admin')} | ||
r216 | ${self.submenu('users')} | ||
r127 | </%def> | ||
<%def name="main()"> | |||
<div> | |||
<h2>${_('User')} - ${_('add new')}</h2> | |||
${h.form(url('users'))} | |||
<table> | |||
<tr> | |||
<td>${_('Username')}</td> | |||
<td>${h.text('username')}</td> | |||
</tr> | |||
<tr> | |||
<td>${_('password')}</td> | |||
<td>${h.text('password')}</td> | |||
</tr> | |||
<tr> | |||
<td>${_('Active')}</td> | |||
<td>${h.checkbox('active')}</td> | |||
</tr> | |||
<tr> | |||
<td></td> | |||
<td>${h.submit('add','add')}</td> | |||
</tr> | |||
</table> | |||
${h.end_form()} | |||
</div> | |||
</%def> |