gitlab-org--gitlab-foss/app/views/projects/_zen.html.haml

13 lines
372 B
Text
Raw Normal View History

2014-09-20 09:26:14 -04:00
.zennable
.zen-backdrop
2015-11-29 17:41:02 -05:00
- classes << ' js-gfm-input js-autosize markdown-area'
- if defined?(f) && f
= f.text_area attr, class: classes
- else
= text_area_tag attr, nil, class: classes
%a.js-zen-enter(tabindex="-1" href="#")
= icon('expand')
Edit in fullscreen
%a.js-zen-leave(tabindex="-1" href="#")
= icon('compress')