app/views/admin/uploads/new.html.erb in spree_essentials-0.1.0 vs app/views/admin/uploads/new.html.erb in spree_essentials-0.1.1

- old
+ new

@@ -1,8 +1,10 @@ +<%= render :partial => 'admin/shared/contents_sub_menu' unless request.xhr? %> + <h3><%= t('.new_upload') %></h3> -<% form_for(@upload, :url => admin_uploads_path, :html => { :multipart => true }) do |form| %> +<%= form_for([:admin, @upload], :html => { :multipart => true }) do |form| %> <table class="basic-table"> <%= render "form", :form => form %> </table> <p class="form-buttons"> <%= button t("create") %> @@ -14,8 +16,5 @@ jQuery('#cancel_link').click(function (event) { jQuery('#new_image_link').show(); jQuery('#images').html(''); }); </script> - - -