## -*- coding: utf-8 -*- <%inherit file="/base/base.mako"/> <%def name="title()"> ${_('Fork repository %s') % c.repo_name} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif <%def name="breadcrumbs_links()"> <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} <%def name="menu_bar_subnav()"> ${self.repo_menu(active='options')} <%def name="main()">
${self.repo_page_title(c.rhodecode_db_repo)}
${h.secure_form(h.route_path('repo_fork_create',repo_name=c.rhodecode_db_repo.repo_name), request=request)}
${h.text('repo_name', class_="medium")} ${h.hidden('repo_type',c.rhodecode_db_repo.repo_type)} ${h.hidden('fork_parent_id',c.rhodecode_db_repo.repo_id)}
${h.select('repo_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.textarea('description',cols=23,rows=5,class_="medium")} <% metatags_url = h.literal('''meta-tags''') %> ${_('Plain text format with support of {metatags}. Add a README file for longer descriptions').format(metatags=metatags_url)|n}
${h.select('landing_rev','',c.landing_revs,class_="medium")} ${_('The default commit for file pages, downloads, full text search index, and README generation.')}
${h.checkbox('copy_permissions',value="True", checked="checked")} ${_('Copy permissions from forked repository')}
${h.checkbox('private',value="True")} ${_('Private repositories are only visible to people explicitly added as collaborators.')}
${h.submit('',_('Fork this Repository'),class_="btn")}
${h.end_form()}