## -*- coding: utf-8 -*- ${h.form(url('repos'))}
${h.text('repo_name',c.new_repo,class_="small")} %if not h.HasPermissionAll('hg.admin')('repo create form'): ${h.hidden('user_created',True)} %endif
${h.text('clone_uri',class_="small")} ${_('Optional http[s] url from which repository should be cloned.')}
${h.select('repo_group',request.GET.get('parent_group'),c.repo_groups,class_="medium")} ${_('Optional select a group to put this repository into.')}
${h.select('repo_type','hg',c.backends,class_="small")} ${_('Type of repository to create.')}
${h.select('landing_rev','',c.landing_revs,class_="medium")} ${_('Default revision for files page, downloads, whoosh and readme')}
${h.textarea('description')} ${_('Keep it short and to the point. Use a README file for longer descriptions.')}
${h.checkbox('private',value="True")} ${_('Private repositories are only visible to people explicitly added as collaborators.')}
${h.submit('add',_('add'),class_="ui-button")}
${h.end_form()}