Sha256: d01bc986841f7a225411f587b98fe44823d728513f9ba3fd80c94e3e40706642

Contents?: true

Size: 613 Bytes

Versions: 6

Compression:

Stored size: 613 Bytes

Contents

<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

6 entries across 6 versions & 2 rubygems

Version Path
spree_essentials_jn-0.6.1 app/views/spree/admin/uploads/new.html.erb
spree_essentials_jn-0.6.0 app/views/spree/admin/uploads/new.html.erb
spree_essentials-0.5.0 app/views/spree/admin/uploads/new.html.erb
spree_essentials-0.5.0.rc1 app/views/spree/admin/uploads/new.html.erb
spree_essentials-0.4.0 app/views/spree/admin/uploads/new.html.erb
spree_essentials-0.4.0.rc3 app/views/spree/admin/uploads/new.html.erb