debian-mirror-gitlab/app/views/projects/_zen.html.haml

10 lines
466 B
Text
Raw Normal View History

2016-09-13 17:45:13 +05:30
- supports_slash_commands = local_assigns.fetch(:supports_slash_commands, false)
2016-06-02 11:05:42 +05:30
.zen-backdrop
- classes << ' js-gfm-input js-autosize markdown-area'
- if defined?(f) && f
2016-09-13 17:45:13 +05:30
= f.text_area attr, class: classes, placeholder: placeholder, data: { supports_slash_commands: supports_slash_commands }
2016-06-02 11:05:42 +05:30
- else
= text_area_tag attr, nil, class: classes, placeholder: placeholder
%a.zen-control.zen-control-leave.js-zen-leave{ href: "#" }
= icon('compress')