summaryrefslogtreecommitdiff
path: root/app/views/projects/_zen.html.haml
blob: 93a7e1cfebdf00723b70b38f43873cc1be85ac6c (plain)
1
2
3
4
5
6
7
8
9
10
11
.zennable
  .zen-backdrop
    - classes << ' js-gfm-input js-autosize 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: "#" }
      Go full screen
    %a.js-zen-leave{ tabindex: "-1", href: "#" }
      = icon('compress')