Sha256: efbd0fa315abd2c9cba878eea94760228f02f28ade0e4e1e94ace206bc26fd0a

Contents?: true

Size: 699 Bytes

Versions: 2

Compression:

Stored size: 699 Bytes

Contents

<%= render :partial => "spree/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

2 entries across 2 versions & 1 rubygems

Version Path
spree_essentials-0.4.0.rc2 app/views/spree/admin/uploads/new.html.erb
spree_essentials-0.4.0.rc1 app/views/spree/admin/uploads/new.html.erb