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

13 lines
372 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.zennable
.zen-backdrop
- classes << ' js-gfm-input js-autosize markdown-area'
2015-11-26 14:37:03 +05:30
- if defined?(f) && f
= f.text_area attr, class: classes
2015-11-26 14:37:03 +05:30
- else
= text_area_tag attr, nil, class: classes
%a.js-zen-enter(tabindex="-1" href="#")
2015-11-26 14:37:03 +05:30
= icon('expand')
2015-04-26 12:48:37 +05:30
Edit in fullscreen
%a.js-zen-leave(tabindex="-1" href="#")
2015-11-26 14:37:03 +05:30
= icon('compress')