##// END OF EJS Templates
protected againts changing default user.
protected againts changing default user.

File last commit:

r238:a55c1787 default
r314:0d26d46b default
Show More
user_edit.html
58 lines | 1.6 KiB | text/html | HtmlLexer
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ## -*- coding: utf-8 -*-
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%inherit file="/base/base.html"/>
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <%def name="title()">
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ${_('User administration')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="breadcrumbs()">
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ${h.link_to(u'Admin',h.url('admin_home'))}
/
Admin templating updates, added rest permission controllers
r230 ${_('Users')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%def>
<%def name="page_nav()">
new way of menu generation for base, and all admin pages
r182 ${self.menu('admin')}
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 ${self.submenu('users')}
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </%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>
Rewrite of user managment, improved forms, added some user info
r238 <td>${self.get_form_error('username')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
<tr>
<td>${_('New password')}</td>
<td>${h.text('new_password')}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${self.get_form_error('new_password')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
<tr>
Rewrite of user managment, improved forms, added some user info
r238 <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>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 <td>${_('Active')}</td>
<td>${h.checkbox('active',value=True)}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${self.get_form_error('active')}</td>
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
r127 </tr>
<tr>
<td></td>
<td>${h.submit('save','save')}</td>
</tr>
</table>
${h.end_form()}
</div>
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
r216 </%def>