From ed11ca13e80341ed604198426f4d516618e4d23f Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Wed, 14 Mar 2012 12:39:33 +0200 Subject: [PATCH] Added form hint about markdown for the project description --- app/assets/stylesheets/common.scss | 5 +++++ app/views/projects/_form.html.haml | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index f6120e68..6be40104 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -921,3 +921,8 @@ p.time { -moz-box-shadow: 0 1px 2px rgba(0,0,0,.1); box-shadow: 0 1px 2px rgba(0,0,0,.1); } + +.hint { + font-style: italic; + color: #999; +} diff --git a/app/views/projects/_form.html.haml b/app/views/projects/_form.html.haml index a65a0244..9c39f807 100644 --- a/app/views/projects/_form.html.haml +++ b/app/views/projects/_form.html.haml @@ -48,7 +48,9 @@ .clearfix = f.label :description - .input= f.text_area :description, :placeholder => "project description", :class => "xlarge", :rows => 4 + .input + = f.text_area :description, :placeholder => "project description", :class => "xlarge", :rows => 4 + %p.hint Markdown is enabled. %br