BigW Consortium Gitlab

_zen.html.haml 485 Bytes
Newer Older
1
- @gfm_form = true
2
- supports_slash_commands = local_assigns.fetch(:supports_slash_commands, false)
3 4 5
.zen-backdrop
  - classes << ' js-gfm-input js-autosize markdown-area'
  - if defined?(f) && f
6
    = f.text_area attr, class: classes, placeholder: placeholder, data: { supports_slash_commands: supports_slash_commands }
7
  - else
8
    = text_area_tag attr, nil, class: classes, placeholder: placeholder
9
  %a.zen-control.zen-control-leave.js-zen-leave{ href: "#" }
10
    = icon('compress')