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'
|
2015-11-19 09:37:20 -05:00
|
|
|
- if defined?(f) && f
|
2016-01-08 23:33:08 -05:00
|
|
|
= f.text_area attr, class: classes
|
2015-11-19 09:37:20 -05:00
|
|
|
- else
|
2016-01-08 23:33:08 -05:00
|
|
|
= text_area_tag attr, nil, class: classes
|
|
|
|
%a.js-zen-enter(tabindex="-1" href="#")
|
2015-11-19 09:37:20 -05:00
|
|
|
= icon('expand')
|
2015-01-15 03:15:12 -05:00
|
|
|
Edit in fullscreen
|
2016-01-08 23:33:08 -05:00
|
|
|
%a.js-zen-leave(tabindex="-1" href="#")
|
2015-11-19 09:37:20 -05:00
|
|
|
= icon('compress')
|