Mercurial > kallithea
comparison pylons_app/templates/admin/users/user_edit.html @ 127:20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 03 May 2010 19:07:54 +0200 |
parents | pylons_app/templates/user_edit.html@9a2affee4a45 |
children | 7c96c0783d43 |
comparison
equal
deleted
inserted
replaced
126:cfddee9d3693 | 127:20dc7a5eb748 |
---|---|
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',value=True)}</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> |