summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-23 21:00:10 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-23 21:00:10 -0400
commit82a671704d02d33beef88b829e74c8bb87ea8928 (patch)
tree3575162bc099ea2a719ea4cdb62f600da08e5e5b /app/views
parent764b5913c8f960d09d4777e3233662f507b0ec13 (diff)
downloadgitlab-ce-82a671704d02d33beef88b829e74c8bb87ea8928.tar.gz
Show a random Markdown tip in the textarea placeholder
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/_zen.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_zen.html.haml b/app/views/projects/_zen.html.haml
index cf1c55ecca6..a4e41eeb363 100644
--- a/app/views/projects/_zen.html.haml
+++ b/app/views/projects/_zen.html.haml
@@ -2,7 +2,7 @@
%input#zen-toggle-comment.zen-toggle-comment{ tabindex: '-1', type: 'checkbox' }
.zen-backdrop
- classes << ' js-gfm-input markdown-area'
- = f.text_area attr, class: classes, placeholder: 'Leave a comment'
+ = f.text_area attr, class: classes, placeholder: random_markdown_tip
= link_to nil, class: 'zen-enter-link', tabindex: '-1' do
%i.fa.fa-expand
Edit in fullscreen