Sha256: ef8d5314105ee5eb8181a85afbc1199cb1130d113d7c27b2eea5e3bceb8b203d

Contents?: true

Size: 972 Bytes

Versions: 4

Compression:

Stored size: 972 Bytes

Contents

<% admin_breadcrumb(link_to plural_resource_name(Spree::Promotion), spree.admin_promotions_path) %>
<% admin_breadcrumb(@promotion.name) %>


<% content_for :page_actions do %>
  <li>
    <% if can?(:display, Spree::PromotionCode) %>
      <%= button_link_to Spree.t(:download_promotion_code_list), admin_promotion_promotion_codes_path(promotion_id: @promotion.id, format: :csv) %>
    <% end %>
  </li>
<% end %>

<%= form_for @promotion, :url => object_url, :method => :put do |f| %>
  <fieldset class="no-border-top">
    <%= render :partial => 'form', :locals => { :f => f } %>
    <% if can?(:update, @promotion) %>
      <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
    <% end %>
  </fieldset>
<% end %>

<div id="promotion-filters" class="row">
  <div id="rules_container" class="col-xs-6">
    <%= render :partial => 'rules' %>
  </div>

  <div id="actions_container" class="col-xs-6">
    <%= render :partial => 'actions' %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/admin/promotions/edit.html.erb
solidus_backend-2.1.0 app/views/spree/admin/promotions/edit.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/promotions/edit.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/promotions/edit.html.erb