## -*- 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()">
${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''') %> % if c.visual.stylify_metatags: ${_('Plain text format with {metatags} support.').format(metatags=metatags_url)|n} % else: ${_('Plain text format.')} % endif ${_('Add a README file for longer descriptions')}
${h.checkbox('copy_permissions',value="True", checked="checked")} ${_('Copy permissions from parent 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()}