summaryrefslogtreecommitdiff
path: root/app/views/projects/_zen.html.haml
blob: 7e6301abde82aca3767f01e850733c78b2e06113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.zennable
  %input#zen-toggle-comment.zen-toggle-comment(tabindex="-1" type="checkbox")
  .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')