e51078ecfc
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33594 Was supposedly fixed in MR for https://gitlab.com/gitlab-org/gitlab-ce/issues/32086 but seeing this pop up again
16 lines
661 B
Text
16 lines
661 B
Text
- @gfm_form = true
|
|
- current_text ||= nil
|
|
- supports_autocomplete = local_assigns.fetch(:supports_autocomplete, true)
|
|
- supports_quick_actions = local_assigns.fetch(:supports_quick_actions, 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_quick_actions: supports_quick_actions,
|
|
supports_autocomplete: supports_autocomplete }
|
|
- else
|
|
= text_area_tag attr, current_text, class: classes, placeholder: placeholder
|
|
%a.zen-control.zen-control-leave.js-zen-leave{ href: "#" }
|
|
= icon('compress')
|