<%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()"> ${_('New pull request')} <%def name="menu_bar_nav()"> ${self.menu_items(active='repositories')} <%def name="menu_bar_subnav()"> ${self.repo_menu(active='showpullrequest')} <%def name="main()">
${self.repo_page_title(c.rhodecode_db_repo)}
${h.secure_form(h.route_path('pullrequest_create', repo_name=c.repo_name, _query=request.GET.mixed()), id='pull_request_form', request=request)} ${self.breadcrumbs()}
${_('Pull request summary')}
${h.text('pullrequest_title', c.default_title, class_="medium autogenerated-title")}
${dt.markup_form('pullrequest_desc')}
## TODO: johbo: Abusing the "content" class here to get the ## desired effect. Should be replaced by a proper solution. ##ORG
${_('Source repository')}: ${c.rhodecode_db_repo.description}
${h.hidden('source_repo')} ${h.hidden('source_ref')}
##OTHER, most Probably the PARENT OF THIS FORK
## filled with JS
${h.hidden('target_repo')} ${h.hidden('target_ref')}
## AUTHOR
${_('Author of this pull request')}
  • ${self.gravatar_with_user(c.rhodecode_user.email, 16)}
## REVIEW RULES ## REVIEWERS
${_('Pull request reviewers')} - ${_('loading...')}
## members goes here, filled via JS based on initial selection !
    ${h.text('user', class_='ac-input', placeholder=_('Add reviewer or reviewer group'))}
    ## overview pulled by ajax
    ${h.end_form()}