Sha256: 80d63e1bf5e038ccb74fb160a63c4739df4e09db7c17ad66e1ff7888f344778b
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @sale_image } %> <ul class="inline-menu"> <li><%= button_link_to t('spree.active_sale.event.link.back'), edit_admin_active_sale_active_sale_event_url(@active_sale, @active_sale_event), :icon => 'icon-arrow-left' %></li> </ul> <%= form_for [:admin, @active_sale, @active_sale_event, @sale_image], :html => { :multipart => true } do |f| %> <fieldset data-hook="edit_image"> <legend align="center"><%= @sale_image.attachment_file_name%></legend> <div data-hook="thumbnail" class="field alpha three columns align-center"> <%= f.label Spree.t(:thumbnail) %><br> <%= link_to image_tag(@sale_image.attachment.url(:small)), @sale_image.attachment.url(:product) %> </div> <div class="nine columns omega"> <%= render :partial => 'form', :locals => { :f => f } %> </div> <div class="clear"></div> <div class="form-buttons filter-actions actions" data-hook="buttons"> <%= button Spree.t(:update), 'icon-refresh' %> <span class="or"><%= Spree.t(:or) %></span> <%= link_to_with_icon 'icon-remove', Spree.t(:cancel), admin_active_sale_active_sale_event_url(@active_sale, @active_sale_event), :id => 'cancel_link', :class => 'button' %> </div> </fieldset> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_active_sale-2.0.0 | app/views/spree/admin/sale_images/edit.html.erb |