summaryrefslogtreecommitdiff
path: root/app/views/projects/_zen.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-30 10:00:43 +0100
committerPhil Hughes <me@iamphill.com>2016-04-04 10:48:49 +0100
commit3c2b0e7572c11d24b96f2762a03c8cc47f11f510 (patch)
tree5ef9df1047444c280125017b7a825348e45d4c0d /app/views/projects/_zen.html.haml
parent0331fa3f3d27dbffdd2144073cf9c62fe7837aa1 (diff)
downloadgitlab-ce-3c2b0e7572c11d24b96f2762a03c8cc47f11f510.tar.gz
Added toolbar to comment form
Diffstat (limited to 'app/views/projects/_zen.html.haml')
-rw-r--r--app/views/projects/_zen.html.haml17
1 files changed, 8 insertions, 9 deletions
diff --git a/app/views/projects/_zen.html.haml b/app/views/projects/_zen.html.haml
index efa60c88b14..bddff5cdcbc 100644
--- a/app/views/projects/_zen.html.haml
+++ b/app/views/projects/_zen.html.haml
@@ -1,9 +1,8 @@
-.zennable
- .zen-backdrop
- - classes << ' js-gfm-input js-autosize markdown-area'
- - if defined?(f) && f
- = f.text_area attr, class: classes, placeholder: "Write a comment or drag your files here..."
- - else
- = text_area_tag attr, nil, class: classes, placeholder: "Write a comment or drag your files here..."
- %a.zen-cotrol.zen-control-leave.js-zen-leave{ href: "#" }
- = icon('compress')
+.zen-backdrop
+ - classes << ' js-gfm-input js-autosize markdown-area'
+ - if defined?(f) && f
+ = f.text_area attr, class: classes, placeholder: "Write a comment or drag your files here..."
+ - else
+ = text_area_tag attr, nil, class: classes, placeholder: "Write a comment or drag your files here..."
+ %a.zen-cotrol.zen-control-leave.js-zen-leave{ href: "#" }
+ = icon('compress')