diff --git a/views/admin/stylesheets/index.haml b/views/admin/stylesheets/index.haml index 30eb534..b61b914 100644 --- a/views/admin/stylesheets/index.haml +++ b/views/admin/stylesheets/index.haml @@ -30,4 +30,10 @@ #actions %ul %li= link_to image('plus.png') + " New Stylesheet", "/admin/stylesheets/new" - %li= link_to "Upload", "#" \ No newline at end of file + %li + = link_to 'Upload', '#uploader', :class => 'replace' + %form{:method=>"post", :action=>"/admin/stylesheets/", "data-onsubmit_status"=>"Saving changes…", :id => 'uploader', :class => 'button_form'} + %span + %label{:for=>"upload"} Upload + %input{:type => 'file', :name=>"uploaded_stylesheet", :id=>"upload"}/ + %input{:type => 'submit', :value => 'Create Stylesheet'} \ No newline at end of file