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

14 lines
462 B
Text
Raw Normal View History

2014-09-20 09:26:14 -04:00
.zennable
%input#zen-toggle-comment.zen-toggle-comment(tabindex="-1" type="checkbox")
2014-09-20 09:26:14 -04:00
.zen-backdrop
- classes << ' js-gfm-input markdown-area'
- if defined?(f) && f
= f.text_area attr, class: classes, placeholder: ''
- else
= text_area_tag attr, nil, class: classes, placeholder: ''
%a.zen-enter-link(tabindex="-1" href="#")
= icon('expand')
Edit in fullscreen
%a.zen-leave-link(href="#")
= icon('compress')