## -*- coding: utf-8 -*- ${h.secure_form(h.route_path('repo_create'), request=request)}
${h.text('repo_name', class_="medium")} %if not c.rhodecode_user.is_admin: ${h.hidden('user_created',True)} %endif
${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_="medium")} % if c.personal_repo_group: ${_('Select my personal group (%(repo_group_name)s)') % {'repo_group_name': c.personal_repo_group.group_name}} % endif ${_('Optionally select a group to put this repository into.')}
${h.select('repo_type','hg',c.backends)} ${_('Set the type of repository to create.')}
${h.textarea('repo_description',cols=23,rows=5,class_="medium")} <% metatags_url = h.literal('''meta-tags''') %> ${_('Plain text format with support of {metatags}. Add a README file for longer descriptions').format(metatags=metatags_url)|n}
${h.checkbox('repo_copy_permissions', value="True", checked="checked")} ${_('Copy permissions from parent repository group.')}
${h.checkbox('repo_private',value="True")} ${_('Private repositories are only visible to people explicitly added as collaborators.')}
${h.submit('save',_('Create Repository'),class_="btn")}
${h.end_form()}