##// END OF EJS Templates
rewritten db manage script to use sqlalchemy. Fixed sqlalchemy models to more generic.
rewritten db manage script to use sqlalchemy. Fixed sqlalchemy models to more generic.

File last commit:

r220:e6c802a8 default
r226:c6526b75 default
Show More
repo_edit.html
40 lines | 986 B | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Repositories administration')}
</%def>
<%def name="breadcrumbs()">
${h.link_to(u'Admin',h.url('admin_home'))}
/
</%def>
<%def name="page_nav()">
${self.menu('admin')}
${self.submenu('repos')}
</%def>
<%def name="main()">
<div>
<h2>${_('Repositories')} - ${_('edit')}</h2>
${h.form(url('repo', id=ID),method='put'))}
<table>
<tr>
<td>${_('Name')}</td>
<td>${h.text('name',c.new_repo)}</td>
</tr>
<tr>
<td>${_('Description')}</td>
<td>${h.textarea('description',cols=23,rows=5)}</td>
</tr>
<tr>
<td>${_('Private')}</td>
<td>${h.checkbox('private')}</td>
</tr>
<tr>
<td></td>
<td>${h.submit('update','update')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>