Mercurial > public > src > rhodecode
diff pylons_app/controllers/users.py @ 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 | 8b06c420491d |
children | 988477a05db6 |
line wrap: on
line diff
--- a/pylons_app/controllers/users.py Mon May 03 18:31:00 2010 +0200 +++ b/pylons_app/controllers/users.py Mon May 03 19:07:54 2010 +0200 @@ -30,7 +30,7 @@ # url('users') c.users_list = self.sa.query(Users).all() - return render('/users.html') + return render('admin/users/users.html') def create(self): """POST /users: Create a new item""" @@ -54,7 +54,7 @@ def new(self, format='html'): """GET /users/new: Form to create a new item""" # url('new_user') - return render('/user_add.html') + return render('admin/users/user_add.html') def update(self, id): """PUT /users/id: Update an existing item""" @@ -107,7 +107,7 @@ c.user = self.sa.query(Users).get(id) defaults = c.user.__dict__ return htmlfill.render( - render('/user_edit.html'), + render('admin/users/user_edit.html'), defaults=defaults, encoding="UTF-8", force_defaults=False