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

14 lines
462 B
Text
Raw Normal View History

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