12 lines
587 B
Text
12 lines
587 B
Text
- supports_slash_commands = local_assigns.fetch(:supports_slash_commands, false)
|
|
.zen-backdrop
|
|
- classes << ' js-gfm-input js-autosize markdown-area'
|
|
- if defined?(f) && f
|
|
= f.text_area attr, class: classes, placeholder: placeholder, data: { supports_slash_commands: supports_slash_commands }
|
|
- else
|
|
= text_area_tag attr, nil, class: classes, placeholder: placeholder
|
|
%a.zen-control.zen-control-leave.js-zen-leave{ href: "#" }
|
|
= icon('compress')
|
|
|
|
- content_for :scripts_body do
|
|
= render "layouts/init_auto_complete" if current_user && (@target_project || @project)
|