## -*- 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()"> ${_('New Fork')} <%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)} ${self.breadcrumbs()}
${h.secure_form(h.url('repo_fork_create_home',repo_name=c.repo_info.repo_name))}
${h.text('repo_name', class_="medium")} ${h.hidden('repo_type',c.repo_info.repo_type)} ${h.hidden('fork_parent_id',c.repo_info.repo_id)}
${h.textarea('description')} ${_('Keep it short and to the point. Use a README file for longer descriptions.')}
${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.select('landing_rev','',c.landing_revs,class_="medium")} ${_('Default commit for files page, downloads, whoosh and readme')}
${h.checkbox('private',value="True")} ${_('Private repositories are only visible to people explicitly added as collaborators.')}
${h.checkbox('copy_permissions',value="True", checked="checked")} ${_('Copy permissions from forked repository')}
${h.submit('',_('Fork this Repository'),class_="btn")}
${h.end_form()}