Commit ed11ca13e80341ed604198426f4d516618e4d23f
1 parent
317963b1
Exists in
master
and in
4 other branches
Added form hint about markdown for the project description
Showing
2 changed files
with
8 additions
and
1 deletions
Show diff stats
app/assets/stylesheets/common.scss
@@ -921,3 +921,8 @@ p.time { | @@ -921,3 +921,8 @@ p.time { | ||
921 | -moz-box-shadow: 0 1px 2px rgba(0,0,0,.1); | 921 | -moz-box-shadow: 0 1px 2px rgba(0,0,0,.1); |
922 | box-shadow: 0 1px 2px rgba(0,0,0,.1); | 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,7 +48,9 @@ | ||
48 | 48 | ||
49 | .clearfix | 49 | .clearfix |
50 | = f.label :description | 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 | %br | 55 | %br |
54 | 56 |