diff pylons_app/templates/users.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 3ada2f409c1c
children 3cf0603cd4f5
line wrap: on
line diff
--- a/pylons_app/templates/users.html	Thu Apr 08 01:50:46 2010 +0200
+++ b/pylons_app/templates/users.html	Thu Apr 08 03:22:32 2010 +0200
@@ -35,7 +35,8 @@
             %for user in c.users_list:
                 <tr>
                     <td>${user.user_id}</td>
-                    <td>${h.link_to(user.username,h.url('user', id=user.user_id))}</td>
+                    <td>${h.link_to(user.username,h.url('edit_user', id=user.user_id))}</td>
+                    <td>${user.password}</td>
                     <td>${user.active}</td>
                     <td>${user.admin}</td>
                     <td>
@@ -45,7 +46,8 @@
         			</td>
                 </tr>
             %endfor
-        </table>        
+        </table>
+        <h3>${h.link_to(u'Add user',h.url('new_user'))}</h3>        
     </div>
 
 </%def>    
\ No newline at end of file