Sha256: c6e07ed737a147a5ca9257257c948bbe8fb454082bf7222c7928913626965cc4
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 KB
Contents
<%= render :partial => 'spree/admin/shared/product_sub_menu' %> <%= render :partial => 'spree/admin/shared/product_tabs', :locals => { :current => 'Images' } %> <%= render :partial => 'spree/shared/error_messages', :locals => {:target => @product} %> <%= form_for [:admin, @product, @image], :html => {:multipart => true, :id => "fileupload", :method => :post} do |f| %> <fieldset data-hook="new_product"> <legend align="center"><%= t('multi_upload.title') %></legend> <div class="row fileupload-buttonbar"> <div data-hook="variant" class="field"> <%= f.label Spree::Variant.model_name.human %> <br> <%= f.select :viewable_id, @variants, {}, {:class => 'select2'} %> </div> <span class="icon-plus button fileinput-button"> <%= t('multi_upload.add_files') %> <%= f.file_field :attachment, {:multiple => true} %> </span> <button type="submit" class="icon-upload button start"><%= t('multi_upload.start') %></button> <button type="reset" class="icon-ban-circle button cancel"><%= t('multi_upload.cancel') %></button> </div> <div class="fileupload-progress fade"> <div class="progress-extended"> </div> </div> <br /> <table role="presentation" class="table table-striped"> <tbody class="files" data-toggle="modal-gallery" data-target="#modal-gallery"></tbody> </table> </fieldset> <% end %> <script type="text/javascript" charset="utf-8"> $(function () { $('#fileupload').fileupload(); }); </script> <%= render :partial => 'template_upload' %> <%= render :partial => 'template_download' %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_image_multi_upload-1.0.0 | app/views/spree/admin/images/multi_upload.html.erb |