## -*- coding: utf-8 -*- ${h.form(url('repos'))}
${h.text('repo_name',class_="small")} %if not c.rhodecode_user.is_admin: ${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")} ${_('Optionaly select a group to put this repository into.')}
${h.select('repo_type','hg',c.backends,class_="small")} ${_('Type of repository to create.')}
${h.select('repo_landing_rev','',c.landing_revs,class_="medium")} ${_('Default revision for files page, downloads, whoosh and readme')}
${h.textarea('repo_description')} ${_('Keep it short and to the point. Use a README file for longer descriptions.')}
${h.checkbox('repo_private',value="True")} ${_('Private repositories are only visible to people explicitly added as collaborators.')}
${h.submit('add',_('add'),class_="ui-btn large")}
${h.end_form()}