##// END OF EJS Templates
added check for repo created outside of hg app
added check for repo created outside of hg app

File last commit:

r265:0e5455fd default
r266:32d6c955 default
Show More
repo_edit.html
49 lines | 1.3 KiB | 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'))}
/
${_('Repos')}
</%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=c.repo_info.repo_name),method='put')}
<table>
<tr>
<td>${_('Name')}</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>
<td>${h.submit('update','update')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>