diff --git a/pylons_app/templates/users_show.html b/pylons_app/templates/users_show.html --- a/pylons_app/templates/users_show.html +++ b/pylons_app/templates/users_show.html @@ -1,6 +1,6 @@ <%inherit file="base/base.html"/> <%def name="title()"> - ${_('User c.user_name')} + ${_('User')} - ${c.user.username} <%def name="breadcrumbs()"> ${h.link_to(u'Home',h.url('/'))} @@ -23,6 +23,28 @@
-

${_('User')} - ${c.user_name}

+

${_('User')} - ${c.user.username}

+ ${h.form(url('user', id=c.user.user_id),method='put')} + + + + + + + + + + + + + + + + + + +
${_('Username')}${h.text('username')}
${_('New password')}${h.text('new_password')}
${_('Active')}${h.checkbox('active')}
${h.submit('save','save')}
+ + ${h.end_form()}
\ No newline at end of file