Sha256: 70c3696ce98441242719f31f69b881021f07180f680e465498f6a5452b725593

Contents?: true

Size: 693 Bytes

Versions: 8

Compression:

Stored size: 693 Bytes

Contents

<%= render :partial => 'admin/shared/contents_sub_menu' unless request.xhr? %>

<h3><%= t('.new_upload') %></h3>

<% if @upload.try(:errors).present? %>
  <%= render 'shared/error_messages', :target => @upload %>
<% end %>

<%= 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") %>
    or <%= link_to t("cancel"), "#", :id => "cancel_link" %>
  </p>
<% end %>

<script type="text/javascript">    
  jQuery('#cancel_link').click(function (event) { 
    jQuery('#new_image_link').show();
    jQuery('#images').html('');
  }); 
</script>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_essentials-0.3.3 app/views/admin/uploads/new.html.erb
spree_essentials-0.2.3 app/views/admin/uploads/new.html.erb
spree_essentials-0.3.2 app/views/admin/uploads/new.html.erb
spree_essentials-0.3.1 app/views/admin/uploads/new.html.erb
spree_essentials-0.2.2 app/views/admin/uploads/new.html.erb
spree_essentials-0.2.1 app/views/admin/uploads/new.html.erb
spree_essentials-0.2.0 app/views/admin/uploads/new.html.erb
spree_essentials-0.1.4 app/views/admin/uploads/new.html.erb