debian-mirror-gitlab/app/views/projects/merge_requests/_form.html.haml

9 lines
407 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
= form_for [@project.namespace.becomes(Namespace), @project, @merge_request], html: { class: 'merge-request-form form-horizontal gfm-form js-requires-input' } do |f|
2015-12-23 02:04:40 +05:30
= render 'shared/issuable/form', f: f, issuable: @merge_request
2014-09-02 18:07:02 +05:30
:javascript
$('.assign-to-me-link').on('click', function(e){
$('#merge_request_assignee_id').val("#{current_user.id}").trigger("change");
e.preventDefault();
});