${h.form(url('update_repo', repo_name=c.repo_info.repo_name))}
${h.text('repo_name',class_='form-control')} ${_('Permanent Repository ID')}: `_${c.repo_info.repo_id}` ${_('What is that?')}
${h.text('clone_uri',class_='form-control', placeholder=_('Repository URL'))} ${h.hidden('clone_uri_hidden', c.repo_info.clone_uri_hidden)}
${_('Optional: URL of a remote repository. If set, the repository can be pulled from this URL.')}
${h.select('repo_group','',c.repo_groups,class_='form-control')} ${_('Optionally select a group to put this repository into.')}
${h.select('repo_landing_rev','',c.landing_revs,class_='form-control')} ${_('Default revision for files page, downloads, whoosh and readme')}
${h.text('owner',class_='form-control', placeholder=_('Type name of user'))} ${_('Change owner of this repository.')}
${h.textarea('repo_description',class_='form-control')} ${_('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.checkbox('repo_enable_statistics',value="True")} ${_('Enable statistics window on summary page.')}
${h.checkbox('repo_enable_downloads',value="True")} ${_('Enable download menu on summary page.')}
${h.checkbox('repo_enable_locking',value="True")} ${_('Enable lock-by-pulling on repository.')}
%if c.visual.repository_fields: ## EXTRA FIELDS %for field in c.repo_fields:
${h.text(field.field_key_prefixed, field.field_value, class_='form-control')} %if field.field_desc: ${field.field_desc} %endif
%endfor %endif
${h.submit('save',_('Save'),class_="btn btn-default")} ${h.reset('reset',_('Reset'),class_="btn btn-default")}
${h.end_form()}