<%inherit file="/base/base.html"/> <%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)} ${self.breadcrumbs()}
${h.secure_form(url('pullrequest', repo_name=c.repo_name), method='post', id='pull_request_form')}
${h.text('pullrequest_title', c.default_title, class_="medium autogenerated-title")}
${h.textarea('pullrequest_desc',size=30, )} ${_('Write a short description on this pull request')}
## TODO: johbo: Abusing the "content" class here to get the ## desired effect. Should be replaced by a proper solution. ##ORG
${_('Origin 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')}
${h.submit('save',_('Submit Pull Request'),class_="btn")}
${_('Pull request reviewers')} - ${_('loading...')}
## members goes here, filled via JS based on initial selection !
    ${h.text('user', class_='ac-input', placeholder=_('Add reviewer'))}
    ## overview pulled by ajax
    ${h.end_form()}