2017-08-17 22:00:37 +05:30
|
|
|
.note-edit-form
|
|
|
|
= form_tag '#', method: :put, class: 'edit-note common-note-form js-quick-submit' do
|
|
|
|
= hidden_field_tag :target_id, '', class: 'js-form-target-id'
|
|
|
|
= hidden_field_tag :target_type, '', class: 'js-form-target-type'
|
|
|
|
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(project), referenced_users: true } do
|
2018-11-08 19:23:39 +05:30
|
|
|
= render 'projects/zen', attr: 'note[note]', classes: 'note-textarea js-note-text js-task-list-field', placeholder: "Write a comment or drag your files here…"
|
2017-08-17 22:00:37 +05:30
|
|
|
= render 'shared/notes/hints'
|
|
|
|
|
|
|
|
.note-form-actions.clearfix
|
|
|
|
.settings-message.note-edit-warning.js-finish-edit-warning
|
|
|
|
Finish editing this message first!
|
2018-12-05 23:21:45 +05:30
|
|
|
= submit_tag 'Save comment', class: 'btn btn-nr btn-success js-comment-save-button'
|
2017-08-17 22:00:37 +05:30
|
|
|
%button.btn.btn-nr.btn-cancel.note-edit-cancel{ type: 'button' }
|
|
|
|
Cancel
|