comparison pylons_app/templates/admin/repos/repo_edit.html @ 230:d982ed8e32d8

Admin templating updates, added rest permission controllers
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 27 May 2010 00:44:49 +0200
parents e6c802a8dede
children 0e5455fda8fd
comparison
equal deleted inserted replaced
229:69a29242ba61 230:d982ed8e32d8
5 ${_('Repositories administration')} 5 ${_('Repositories administration')}
6 </%def> 6 </%def>
7 <%def name="breadcrumbs()"> 7 <%def name="breadcrumbs()">
8 ${h.link_to(u'Admin',h.url('admin_home'))} 8 ${h.link_to(u'Admin',h.url('admin_home'))}
9 / 9 /
10 ${_('Repos')}
10 </%def> 11 </%def>
11 <%def name="page_nav()"> 12 <%def name="page_nav()">
12 ${self.menu('admin')} 13 ${self.menu('admin')}
13 ${self.submenu('repos')} 14 ${self.submenu('repos')}
14 </%def> 15 </%def>
15 <%def name="main()"> 16 <%def name="main()">
16 <div> 17 <div>
17 <h2>${_('Repositories')} - ${_('edit')}</h2> 18 <h2>${_('Repositories')} - ${_('edit')}</h2>
18 ${h.form(url('repo', id=ID),method='put'))} 19 ${h.form(url('repo', id=c.new_repo),method='put')}
19 <table> 20 <table>
20 <tr> 21 <tr>
21 <td>${_('Name')}</td> 22 <td>${_('Name')}</td>
22 <td>${h.text('name',c.new_repo)}</td> 23 <td>${h.text('name',c.new_repo)}</td>
23 </tr> 24 </tr>