summaryrefslogtreecommitdiff
path: root/app/views/projects/_zen.html.haml
blob: d582956827555a48d5465f0f872ec745c4a2c54a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
.zennable
  .zen-backdrop
    - classes << ' js-gfm-input 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')