Mercurial > kallithea
diff pylons_app/templates/admin/repos/repo_edit.html @ 265:0e5455fda8fd
Implemented basic repository managment. Implemented repo2db mappings, model, helpers updates and code cleanups
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 07 Jun 2010 00:18:33 +0200 |
parents | d982ed8e32d8 |
children | 29370bb76fa6 |
line wrap: on
line diff
--- a/pylons_app/templates/admin/repos/repo_edit.html Sun Jun 06 23:35:21 2010 +0200 +++ b/pylons_app/templates/admin/repos/repo_edit.html Mon Jun 07 00:18:33 2010 +0200 @@ -16,19 +16,27 @@ <%def name="main()"> <div> <h2>${_('Repositories')} - ${_('edit')}</h2> - ${h.form(url('repo', id=c.new_repo),method='put')} + ${h.form(url('repo', id=c.repo_info.repo_name),method='put')} <table> <tr> <td>${_('Name')}</td> - <td>${h.text('name',c.new_repo)}</td> + <td>${h.text('repo_name')}</td> + <td>${self.get_form_error('repo_name')}</td> </tr> <tr> <td>${_('Description')}</td> <td>${h.textarea('description',cols=23,rows=5)}</td> + <td>${self.get_form_error('description')}</td> </tr> <tr> <td>${_('Private')}</td> <td>${h.checkbox('private')}</td> + <td>${self.get_form_error('private')}</td> + </tr> + <tr> + <td>${_('Owner')}</td> + <td>${h.text('user')}</td> + <td>${self.get_form_error('user')}</td> </tr> <tr> <td></td>