2ec4d167b6
Signed-off-by: Rémy Coutable <remy@rymai.me>
15 lines
713 B
Text
15 lines
713 B
Text
- issuable = local_assigns.fetch(:issuable)
|
|
- form = local_assigns.fetch(:form)
|
|
|
|
.form-group.detail-page-description
|
|
= form.label :description, 'Description', class: 'control-label'
|
|
.col-sm-10
|
|
|
|
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview", referenced_users: true } do
|
|
= render 'projects/zen', f: form, attr: :description,
|
|
classes: 'note-textarea',
|
|
placeholder: "Write a comment or drag your files here...",
|
|
supports_slash_commands: !issuable.persisted?
|
|
= render 'projects/notes/hints', supports_slash_commands: !issuable.persisted?
|
|
.clearfix
|
|
.error-alert
|