Sha256: cea0c79f7ce5b4272df11a9cfc19f3aa04d7277e2225e573927f989b39a24991
Contents?: true
Size: 1.25 KB
Versions: 3
Compression:
Stored size: 1.25 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 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 t(:update), 'icon-refresh' %> <span class="or"><%= t(:or) %></span> <%= link_to_with_icon 'icon-remove', 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
3 entries across 3 versions & 1 rubygems