Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_form.html.haml « issues « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a7b44955cd3276da3ac34b297b5eb991a4ca338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%div.issue-form-holder
  %h3.page-title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.iid}"
  %hr

  = form_for [@project, @issue], html: { class: 'form-horizontal issue-form gfm-form' } do |f|
    = render 'projects/issuable_form', f: f, issuable: @issue

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

  window.project_image_path_upload = "#{upload_image_project_path @project}";