Commit b91128cc6a59f687899208f34b8d27fdfc6432ef

Authored by Steven Verbeek
1 parent 194467b8

Started note attachment changes, and text changes

app/assets/stylesheets/common.scss
@@ -1104,9 +1104,6 @@ p.time { @@ -1104,9 +1104,6 @@ p.time {
1104 position: absolute; 1104 position: absolute;
1105 width: 100%; 1105 width: 100%;
1106 height: 100%; 1106 height: 100%;
1107 - background:url('http://viget.com/uploads/image/custom-file-input.png');  
1108 - border:0;  
1109 - text-indent:-9999px;  
1110 } 1107 }
1111 1108
1112 div.attachments { 1109 div.attachments {
app/views/notes/_form.html.haml
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 .attachments 27 .attachments
28 %button.file_upload.btn 28 %button.file_upload.btn
29 .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" 30 + %label.large{:for => "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"