summaryrefslogtreecommitdiff
path: root/app/views/projects/_zen.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-30 08:28:06 +0100
committerPhil Hughes <me@iamphill.com>2016-04-04 10:48:49 +0100
commit0331fa3f3d27dbffdd2144073cf9c62fe7837aa1 (patch)
tree312002ff8edb97cc5a764a5a44dada3836261c9e /app/views/projects/_zen.html.haml
parentb7f0b22b9fe76f634d9e8cbce03cfaac41f333e6 (diff)
downloadgitlab-ce-0331fa3f3d27dbffdd2144073cf9c62fe7837aa1.tar.gz
Restyling on elements in comment form
Diffstat (limited to 'app/views/projects/_zen.html.haml')
-rw-r--r--app/views/projects/_zen.html.haml8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/views/projects/_zen.html.haml b/app/views/projects/_zen.html.haml
index 93a7e1cfebd..efa60c88b14 100644
--- a/app/views/projects/_zen.html.haml
+++ b/app/views/projects/_zen.html.haml
@@ -2,10 +2,8 @@
.zen-backdrop
- classes << ' js-gfm-input js-autosize markdown-area'
- if defined?(f) && f
- = f.text_area attr, class: classes
+ = f.text_area attr, class: classes, placeholder: "Write a comment or drag your files here..."
- 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: "#" }
+ = 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')