Mercurial > kallithea
comparison pylons_app/templates/user_edit.html @ 50:73f413946c14
user managment implementation continued update/delete/create works
+ templating changes
author | Marcin Kuzminski <marcin@python-blog.com> |
---|---|
date | Thu, 08 Apr 2010 03:22:32 +0200 |
parents | pylons_app/templates/users_show.html@3ada2f409c1c |
children | 9a2affee4a45 |
comparison
equal
deleted
inserted
replaced
49:3ada2f409c1c | 50:73f413946c14 |
---|---|
1 <%inherit file="base/base.html"/> | |
2 <%def name="title()"> | |
3 ${_('User')} - ${c.user.username} | |
4 </%def> | |
5 <%def name="breadcrumbs()"> | |
6 ${h.link_to(u'Home',h.url('/'))} | |
7 / | |
8 ${h.link_to(u'Admin',h.url('admin_home'))} | |
9 / | |
10 ${h.link_to(u'Users',h.url('users'))} | |
11 </%def> | |
12 <%def name="page_nav()"> | |
13 <li>${h.link_to(u'Home',h.url('/'))}</li> | |
14 <li class="current">${_('Admin')}</li> | |
15 </%def> | |
16 <%def name="main()"> | |
17 <ul class="submenu"> | |
18 <li> | |
19 ${h.link_to(u'Repos',h.url('repos'))} | |
20 </li> | |
21 <li class="current_submenu"> | |
22 ${h.link_to(u'Users',h.url('users'))} | |
23 </li> | |
24 </ul> | |
25 <div> | |
26 <h2>${_('User')} - ${c.user.username}</h2> | |
27 ${h.form(url('user', id=c.user.user_id),method='put')} | |
28 <table> | |
29 <tr> | |
30 <td>${_('Username')}</td> | |
31 <td>${h.text('username')}</td> | |
32 </tr> | |
33 <tr> | |
34 <td>${_('New password')}</td> | |
35 <td>${h.text('new_password')}</td> | |
36 </tr> | |
37 <tr> | |
38 <td>${_('Active')}</td> | |
39 <td>${h.checkbox('active')}</td> | |
40 </tr> | |
41 <tr> | |
42 <td></td> | |
43 <td>${h.submit('save','save')}</td> | |
44 </tr> | |
45 | |
46 </table> | |
47 | |
48 ${h.end_form()} | |
49 </div> | |
50 </%def> |