Mercurial > kallithea
comparison 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 |
comparison
equal
deleted
inserted
replaced
264:0d68a749db33 | 265:0e5455fda8fd |
---|---|
14 ${self.submenu('repos')} | 14 ${self.submenu('repos')} |
15 </%def> | 15 </%def> |
16 <%def name="main()"> | 16 <%def name="main()"> |
17 <div> | 17 <div> |
18 <h2>${_('Repositories')} - ${_('edit')}</h2> | 18 <h2>${_('Repositories')} - ${_('edit')}</h2> |
19 ${h.form(url('repo', id=c.new_repo),method='put')} | 19 ${h.form(url('repo', id=c.repo_info.repo_name),method='put')} |
20 <table> | 20 <table> |
21 <tr> | 21 <tr> |
22 <td>${_('Name')}</td> | 22 <td>${_('Name')}</td> |
23 <td>${h.text('name',c.new_repo)}</td> | 23 <td>${h.text('repo_name')}</td> |
24 <td>${self.get_form_error('repo_name')}</td> | |
24 </tr> | 25 </tr> |
25 <tr> | 26 <tr> |
26 <td>${_('Description')}</td> | 27 <td>${_('Description')}</td> |
27 <td>${h.textarea('description',cols=23,rows=5)}</td> | 28 <td>${h.textarea('description',cols=23,rows=5)}</td> |
29 <td>${self.get_form_error('description')}</td> | |
28 </tr> | 30 </tr> |
29 <tr> | 31 <tr> |
30 <td>${_('Private')}</td> | 32 <td>${_('Private')}</td> |
31 <td>${h.checkbox('private')}</td> | 33 <td>${h.checkbox('private')}</td> |
34 <td>${self.get_form_error('private')}</td> | |
35 </tr> | |
36 <tr> | |
37 <td>${_('Owner')}</td> | |
38 <td>${h.text('user')}</td> | |
39 <td>${self.get_form_error('user')}</td> | |
32 </tr> | 40 </tr> |
33 <tr> | 41 <tr> |
34 <td></td> | 42 <td></td> |
35 <td>${h.submit('update','update')}</td> | 43 <td>${h.submit('update','update')}</td> |
36 </tr> | 44 </tr> |