Skip to content

Commit

Permalink
upload form for stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Aug 4, 2010
1 parent 38f5664 commit ae33a48
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion views/admin/stylesheets/index.haml
Expand Up @@ -30,4 +30,10 @@
#actions
%ul
%li= link_to image('plus.png') + " New Stylesheet", "/admin/stylesheets/new"
%li= link_to "Upload", "#"
%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'}

0 comments on commit ae33a48

Please sign in to comment.