gitlab-org--gitlab-foss/app/views/projects/merge_requests/_form.html.haml

9 lines
431 B
Text
Raw Normal View History

2016-04-05 05:39:16 -04:00
= form_for [@project.namespace.becomes(Namespace), @project, @merge_request], html: { class: 'merge-request-form form-horizontal common-note-form js-requires-input js-quick-submit' } do |f|
2015-12-02 08:38:14 -05:00
= render 'shared/issuable/form', f: f, issuable: @merge_request
2011-11-28 02:39:43 -05:00
:javascript
$('.assign-to-me-link').on('click', function(e){
$('#merge_request_assignee_id').val("#{current_user.id}").trigger("change");
e.preventDefault();
});