diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-05 12:33:30 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-14 10:28:05 +0100 |
commit | 3de09d1475db3d23f839991e57d16e00bff07cb4 (patch) | |
tree | 68791ec7390d7fcf83df6867b529ef187b397ca5 /app/views/projects/_zen.html.haml | |
parent | d67c3e35c98cff2372db803f93a97a60aa8b4104 (diff) | |
download | gitlab-ce-3de09d1475db3d23f839991e57d16e00bff07cb4.tar.gz |
Updated all GFM forms to use new GLForm class
Diffstat (limited to 'app/views/projects/_zen.html.haml')
-rw-r--r-- | app/views/projects/_zen.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_zen.html.haml b/app/views/projects/_zen.html.haml index bddff5cdcbc..e1e35013968 100644 --- a/app/views/projects/_zen.html.haml +++ b/app/views/projects/_zen.html.haml @@ -1,8 +1,8 @@ .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..." + = f.text_area attr, class: classes, placeholder: placeholder - else - = text_area_tag attr, nil, class: classes, placeholder: "Write a comment or drag your files here..." + = text_area_tag attr, nil, class: classes, placeholder: placeholder %a.zen-cotrol.zen-control-leave.js-zen-leave{ href: "#" } = icon('compress') |