summaryrefslogtreecommitdiff
path: root/app/views/projects/_zen.html.haml
blob: 74e681a48edb46d28b332c5de3548a051a03b4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- @gfm_form = true
- current_text ||= nil
<<<<<<< HEAD
- supports_slash_commands = local_assigns.fetch(:supports_slash_commands, false)
.zen-backdrop
  - classes << ' js-gfm-input js-autosize markdown-area'
  - if defined?(f) && f
    = f.text_area attr, class: classes, placeholder: placeholder, data: { supports_slash_commands: supports_slash_commands }
=======
- supports_autocomplete = local_assigns.fetch(:supports_autocomplete, true)
- supports_quick_actions = local_assigns.fetch(:supports_quick_actions, false)
.zen-backdrop
  - classes << ' js-gfm-input js-autosize markdown-area'
  - if defined?(f) && f
    = f.text_area attr,
      class: classes,
      placeholder: placeholder,
      data: { supports_quick_actions: supports_quick_actions,
        supports_autocomplete: supports_autocomplete }
>>>>>>> be2ea8f... Merge branch '33594-disable-autocomplete-on-snippet-comments' into 'master'
  - else
    = text_area_tag attr, current_text, class: classes, placeholder: placeholder
  %a.zen-control.zen-control-leave.js-zen-leave{ href: "#" }
    = icon('compress')