<%inherit file="/base/base.mako"/> <%def name="title()"> ${_('Add repository group')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif <%def name="breadcrumbs_links()"> ${h.link_to(_('Admin'),h.route_path('admin_home'))} » ${h.link_to(_('Repository groups'),h.route_path('repo_groups'))} » ${_('Add Repository Group')} <%def name="menu_bar_nav()"> ${self.menu_items(active='admin')} <%def name="menu_bar_subnav()"> ${self.admin_menu(active='repository_groups')} <%def name="main()">
${h.secure_form(h.route_path('repo_group_create'), request=request)}
${h.text('group_name', class_="medium")}
${h.select('group_parent_id', request.GET.get('parent_group'),c.repo_groups,class_="medium")} % if c.personal_repo_group: ${_('Select my personal group ({})').format(c.personal_repo_group.group_name)} % endif
${h.textarea('group_description',cols=23,rows=5,class_="medium")} <% metatags_url = h.literal('''meta-tags''') %> % if c.visual.stylify_metatags: ${_('Plain text format with {metatags} support.').format(metatags=metatags_url)|n} % else: ${_('Plain text format.')} % endif
${h.checkbox('group_copy_permissions', value="True", checked="checked")} ${_('Copy permissions from parent repository group.')}
${h.submit('save',_('Create Repository Group'),class_="btn")}
${h.end_form()}