${_('Parent')}

${h.form(url('edit_repo_advanced_fork', repo_name=c.repo_info.repo_name))}
${h.select('id_fork_of','',c.repos_list)} ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-default btn-sm")}
${_('''Manually set this repository as a fork of another from the list.''')}
${h.end_form()}

${_('Public Journal Visibility')}

${h.form(url('edit_repo_advanced_journal', repo_name=c.repo_info.repo_name))}
%if c.in_public_journal: %else: %endif
${_('All actions done in this repository will be visible to everyone in the public journal.')}
${h.end_form()}

${_('Delete')}

${h.form(url('delete_repo', repo_name=c.repo_name))}
%if c.repo_info.forks.count(): ${ungettext('This repository has %s fork', 'This repository has %s forks', c.repo_info.forks.count()) % c.repo_info.forks.count()} %endif
${_('The deleted repository will be moved away and hidden until the administrator expires it. The administrator can both permanently delete it or restore it.')}
${h.end_form()}