From 194467b8f82dc6ae8a01679276e256efb153856f Mon Sep 17 00:00:00 2001 From: Steven Verbeek Date: Sat, 24 Mar 2012 13:19:20 -0300 Subject: [PATCH] Started note attachment changes, and text changes --- app/assets/stylesheets/common.scss | 4 ++++ app/views/notes/_form.html.haml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index a0415387..8267a3ab 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1115,4 +1115,8 @@ p.time { height: 30px; overflow:hidden; } + + label.large { + width:160px; + } } \ No newline at end of file diff --git a/app/views/notes/_form.html.haml b/app/views/notes/_form.html.haml index 72fe9b32..aa51eba2 100644 --- a/app/views/notes/_form.html.haml +++ b/app/views/notes/_form.html.haml @@ -24,10 +24,10 @@ .span4 %h5 Attachment: .clearfix - = f.label :attachment, "Any file less then 10 MB" .attachments - %button.file_upload + %button.file_upload.btn .input= f.file_field :attachment, :class => "input-file" + = f.label.large :attachment, "Any file less then 10 MB" = f.submit 'Add Comment', :class => "btn primary", :id => "submit_note"