## -*- coding: utf-8 -*- ${h.secure_form(h.route_path('repo_create'), method='POST', request=request)}
${h.text('repo_name', class_="medium")} %if not c.rhodecode_user.is_admin: ${h.hidden('user_created',True)} %endif
${h.textarea('repo_description')} ${_('Keep it short and to the point. Use a README file for longer descriptions.')}
${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.checkbox('repo_copy_permissions', value="True", checked="checked")} ${_('Copy permission set from the parent repository group.')}
${h.select('repo_type','hg',c.backends)} ${_('Set the type of repository to create.')}
${h.select('repo_landing_rev','',c.landing_revs,class_="medium")} ${_('The default commit for file pages, downloads, full text search index, and README generation.')}
${h.checkbox('repo_private',value="True")} ${_('Private repositories are only visible to people explicitly added as collaborators.')}
${h.submit('save',_('Save'),class_="btn")}
${h.end_form()}