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

show.html.haml « walls « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 88aecee0815d393fb2977dc5ec9defd7fdee37e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%div.wall-page
  %ul.notes

  - if can? current_user, :write_note, @project
    .note-form-holder
      = form_for [@project, @note], remote: true, html: { multipart: true, id: nil, class: "new_note wall-note-form" } do |f|
        = note_target_fields
        .note_text_and_preview
          = f.text_area :note, size: 255, class: 'note_text js-note-text js-gfm-input turn-on'
        .note-form-actions
          .buttons
            = f.submit 'Add Comment', class: "btn comment-btn grouped js-comment-button"

          .note-form-option
            %a.choose-btn.btn.btn-small.js-choose-note-attachment-button
              %i.icon-paper-clip
                %span Choose File ...
             
            %span.file_name.js-attachment-filename File name...
            = f.file_field :attachment, class: "js-note-attachment-input hide"

          .hint.pull-right CTRL + Enter to send message
        .clearfix