${h.form(url('repo', repo_name=c.repo_info.repo_name),method='put')}
${h.text('repo_name',class_="medium")} ${_('Non-changeable id')}: `_${c.repo_info.repo_id}` ${_('what is that ?')}
%if c.repo_info.clone_uri:
${c.repo_info.clone_uri_hidden} ${_('edit')}
%else: ## not set yet, display form to set it ${h.text('clone_uri',class_="medium")} ${h.hidden('clone_uri_change', 'NEW')} %endif ${_('http[s] url used for doing remote pulls.')}
${h.select('repo_group','',c.repo_groups,class_="medium")} ${_('Optional select a group to put this repository into.')}
${h.select('repo_landing_rev','',c.landing_revs,class_="medium")} ${_('Default revision for files page, downloads, whoosh and readme')}
${h.text('user',class_='yui-ac-input')} ${_('Change owner of this repository.')}
${h.textarea('repo_description', style="height:165px")} ${_('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_='medium')} %if field.field_desc: ${field.field_desc} %endif
%endfor %endif
${h.submit('save',_('Save'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")}
${h.end_form()}