Commit ed11ca13e80341ed604198426f4d516618e4d23f

Authored by Ariejan de Vroom
1 parent 317963b1

Added form hint about markdown for the project description

app/assets/stylesheets/common.scss
... ... @@ -921,3 +921,8 @@ p.time {
921 921 -moz-box-shadow: 0 1px 2px rgba(0,0,0,.1);
922 922 box-shadow: 0 1px 2px rgba(0,0,0,.1);
923 923 }
  924 +
  925 +.hint {
  926 + font-style: italic;
  927 + color: #999;
  928 +}
... ...
app/views/projects/_form.html.haml
... ... @@ -48,7 +48,9 @@
48 48  
49 49 .clearfix
50 50 = f.label :description
51   - .input= f.text_area :description, :placeholder => "project description", :class => "xlarge", :rows => 4
  51 + .input
  52 + = f.text_area :description, :placeholder => "project description", :class => "xlarge", :rows => 4
  53 + %p.hint Markdown is enabled.
52 54  
53 55 %br
54 56  
... ...