Commit 194467b8f82dc6ae8a01679276e256efb153856f

Authored by Steven Verbeek
1 parent 46605c91

Started note attachment changes, and text changes

app/assets/stylesheets/common.scss
@@ -1115,4 +1115,8 @@ p.time { @@ -1115,4 +1115,8 @@ p.time {
1115 height: 30px; 1115 height: 30px;
1116 overflow:hidden; 1116 overflow:hidden;
1117 } 1117 }
  1118 +
  1119 + label.large {
  1120 + width:160px;
  1121 + }
1118 } 1122 }
1119 \ No newline at end of file 1123 \ No newline at end of file
app/views/notes/_form.html.haml
@@ -24,10 +24,10 @@ @@ -24,10 +24,10 @@
24 .span4 24 .span4
25 %h5 Attachment: 25 %h5 Attachment:
26 .clearfix 26 .clearfix
27 - = f.label :attachment, "Any file less then 10 MB"  
28 .attachments 27 .attachments
29 - %button.file_upload 28 + %button.file_upload.btn
30 .input= f.file_field :attachment, :class => "input-file" 29 .input= f.file_field :attachment, :class => "input-file"
  30 + = f.label.large :attachment, "Any file less then 10 MB"
31 31
32 32
33 = f.submit 'Add Comment', :class => "btn primary", :id => "submit_note" 33 = f.submit 'Add Comment', :class => "btn primary", :id => "submit_note"