2016-06-02 11:05:42 +05:30
|
|
|
= 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-23 02:04:40 +05:30
|
|
|
= render 'shared/issuable/form', f: f, issuable: @issue
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
:javascript
|
|
|
|
$('.assign-to-me-link').on('click', function(e){
|
|
|
|
$('#issue_assignee_id').val("#{current_user.id}").trigger("change");
|
|
|
|
e.preventDefault();
|
|
|
|
});
|