2016-04-05 05:34:02 -04:00
|
|
|
= form_for [@project.namespace.becomes(Namespace), @project, @issue], html: { class: 'form-horizontal issue-form common-note-form js-quick-submit js-requires-input' } do |f|
|
2015-12-02 08:38:14 -05:00
|
|
|
= render 'shared/issuable/form', f: f, issuable: @issue
|
2012-12-17 22:14:05 -05:00
|
|
|
|
|
|
|
:javascript
|
2013-05-29 06:16:30 -04:00
|
|
|
$('.assign-to-me-link').on('click', function(e){
|
2014-01-11 05:11:54 -05:00
|
|
|
$('#issue_assignee_id').val("#{current_user.id}").trigger("change");
|
2013-05-29 06:16:30 -04:00
|
|
|
e.preventDefault();
|
|
|
|
});
|