diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-23 21:00:10 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-23 21:00:10 -0400 |
commit | 82a671704d02d33beef88b829e74c8bb87ea8928 (patch) | |
tree | 3575162bc099ea2a719ea4cdb62f600da08e5e5b /app/views/projects/_zen.html.haml | |
parent | 764b5913c8f960d09d4777e3233662f507b0ec13 (diff) | |
download | gitlab-ce-82a671704d02d33beef88b829e74c8bb87ea8928.tar.gz |
Show a random Markdown tip in the textarea placeholder
Diffstat (limited to 'app/views/projects/_zen.html.haml')
-rw-r--r-- | app/views/projects/_zen.html.haml | 2 |
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 |