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
|
2014-05-08 08:52:59 -04:00
|
|
|
$('.assign-to-me-link').on('click', function(e){
|
|
|
|
$('#merge_request_assignee_id').val("#{current_user.id}").trigger("change");
|
|
|
|
e.preventDefault();
|
|
|
|
});
|