<%inherit file="/base/base.mako"/> <%namespace name="dt" file="/data_table/_dt_elements.mako"/> <%def name="title()"> ${c.repo_name} ${_('New pull request')} <%def name="breadcrumbs_links()"> <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} <%def name="menu_bar_subnav()"> ${self.repo_menu(active='showpullrequest')} <%def name="main()">
${h.secure_form(h.route_path('pullrequest_create', repo_name=c.repo_name, _query=request.GET.mixed()), id='pull_request_form', request=request)}
## COMMIT FLOW

${_('Source repository')}

${c.rhodecode_db_repo.description}
${h.hidden('source_repo')} ${h.hidden('source_ref')}

${_('Target repository')}

${h.hidden('target_repo')} ${h.hidden('target_ref')}
## TITLE
${h.text('pullrequest_title', c.default_title, class_="medium autogenerated-title")}

Start the title with WIP: to prevent accidental merge of Work In Progress pull request before it's ready.

## DESC
${dt.markup_form('pullrequest_desc')}
## REVIEWERS
## REVIEW RULES ## REVIEWERS / OBSERVERS
## TAB1 MANDATORY REVIEWERS

${_('loading...')}

## members goes here, filled via JS based on initial selection ! ## This content is loaded via JS and ReviewersPanel, an sets reviewer_entry class on each element
${h.text('user', class_='ac-input', placeholder=_('Add reviewer or reviewer group'))}
## TAB2 OBSERVERS
## SUBMIT
${h.end_form()}