BigW Consortium Gitlab

_form.html.haml 375 Bytes
Newer Older
1 2
= form_for [@project.namespace.becomes(Namespace), @project, @issue], html: { class: 'form-horizontal issue-form gfm-form js-requires-input' } do |f|
  = render 'shared/issuable/form', f: f, issuable: @issue
3 4

:javascript
5
  $('.assign-to-me-link').on('click', function(e){
6
    $('#issue_assignee_id').val("#{current_user.id}").trigger("change");
7 8
    e.preventDefault();
  });