2015-01-15 01:42:58 -05:00
|
|
|
.note-edit-form
|
2017-01-06 05:33:06 -05:00
|
|
|
= form_tag '#', method: :put, class: 'edit-note common-note-form js-quick-submit' do
|
2017-01-02 12:14:43 -05:00
|
|
|
= hidden_field_tag :target_id, '', class: 'js-form-target-id'
|
|
|
|
= hidden_field_tag :target_type, '', class: 'js-form-target-type'
|
2016-11-16 06:09:09 -05:00
|
|
|
= render layout: 'projects/md_preview', locals: { url: preview_markdown_path(project), referenced_users: true } do
|
2016-11-01 07:20:22 -04:00
|
|
|
= 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-05-03 04:48:01 -04:00
|
|
|
= render 'shared/notes/hints'
|
2015-01-15 01:42:58 -05:00
|
|
|
|
2016-03-18 13:23:54 -04:00
|
|
|
.note-form-actions.clearfix
|
2017-05-03 13:41:16 -04:00
|
|
|
.settings-message.note-edit-warning.js-finish-edit-warning
|
2016-10-13 17:11:43 -04:00
|
|
|
Finish editing this message first!
|
2017-05-05 06:57:29 -04:00
|
|
|
= submit_tag 'Save comment', class: 'btn btn-nr btn-save js-comment-save-button'
|
2016-03-30 08:54:35 -04:00
|
|
|
%button.btn.btn-nr.btn-cancel.note-edit-cancel{ type: 'button' }
|
|
|
|
Cancel
|