##// END OF EJS Templates
settings: simplify handling of form values for hooks and extensions...
settings: simplify handling of form values for hooks and extensions This makes simpler to follow the code path and search for input input field names. The form field names are hardcoded in the template, so generating them programmatically in the controller do not really add any flexibility.

File last commit:

r3193:cbc644d9 beta
r3570:8173b0cf beta
Show More
repos_groups_add.html
64 lines | 1.9 KiB | text/html | HtmlLexer
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods....
r1345 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Add repos group')} - ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
White-space cleanup
r1888 ${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${h.link_to(_('Repos groups'),h.url('repos_groups'))}
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods....
r1345 &raquo;
${_('add new repos group')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
White-space cleanup
r1888 ${self.breadcrumbs()}
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods....
r1345 </div>
<!-- end box / title -->
${h.form(url('repos_groups'))}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
Augusto Herrmann
Corrected some label-input linking in templates
r1575 <label for="group_name">${_('Group name')}:</label>
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods....
r1345 </div>
<div class="input">
#47 implemented basic edition of groups
r1347 ${h.text('group_name',class_='medium')}
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods....
r1345 </div>
</div>
White-space cleanup
r1888
#47 implemented basic edition of groups
r1347 <div class="field">
<div class="label label-textarea">
Augusto Herrmann
Corrected some label-input linking in templates
r1575 <label for="group_description">${_('Description')}:</label>
#47 implemented basic edition of groups
r1347 </div>
<div class="textarea text-area editor">
${h.textarea('group_description',cols=23,rows=5,class_="medium")}
</div>
</div>
White-space cleanup
r1888
#47 implemented basic edition of groups
r1347 <div class="field">
<div class="label">
Augusto Herrmann
Corrected some label-input linking in templates
r1575 <label for="group_parent_id">${_('Group parent')}:</label>
#47 implemented basic edition of groups
r1347 </div>
<div class="input">
Add new quick link to created child groups within a group
r3193 ${h.select('group_parent_id',request.GET.get('parent_group'),c.repo_groups,class_="medium")}
#47 implemented basic edition of groups
r1347 </div>
White-space cleanup
r1888 </div>
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods....
r1345 <div class="buttons">
removed deprecated ui-button
r2607 ${h.submit('save',_('save'),class_="ui-btn large")}
White-space cleanup
r1888 </div>
#47 implemented Adding of new repo_groups+forms+validators. Fixed sorting of repo groups by main names in multiple locations. Removed some unneeded calls to self.sa for exchange to .query() methods....
r1345 </div>
</div>
${h.end_form()}
White-space cleanup
r1888 </div>
</%def>