Sha256: ca471bc2d71231e4de104870dd7a798fafd827a31bb2b5f1be9969600ed8dc8a
Contents?: true
Size: 1.46 KB
Versions: 2
Compression:
Stored size: 1.46 KB
Contents
<% admin_layout "full-width" %> <% 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?(:show, Spree::PromotionCode) %> <%= link_to t('spree.view_promotion_codes_list'), admin_promotion_promotion_codes_path(promotion_id: @promotion.id), class: 'btn btn-primary' %> <%= link_to t('spree.download_promotion_codes_list'), admin_promotion_promotion_codes_path(promotion_id: @promotion.id, format: :csv), class: 'btn btn-primary' %> <% end %> <% if can?(:show, Spree::PromotionCodeBatch) %> <%= link_to plural_resource_name(Spree::PromotionCodeBatch), admin_promotion_promotion_code_batches_path(promotion_id: @promotion.id), class: 'btn btn-primary' %> <% end %> </li> <% end %> <% content_for :head do %> <%= stylesheet_link_tag 'solidus_legacy_promotions/promotions' %> <%= javascript_include_tag 'spree/backend/edit_promotion' %> <% end %> <%= form_for @promotion, url: object_url, method: :put do |f| %> <%= render partial: 'form', locals: { f: f } %> <% if can?(:update, @promotion) %> <%= render partial: 'spree/admin/shared/edit_resource_links' %> <% end %> <% end %> <div id="promotion-filters" class="row"> <div id="rules_container" class="col-6"> <%= render partial: 'rules' %> </div> <div id="actions_container" class="col-6"> <%= render partial: 'actions' %> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_legacy_promotions-4.4.1 | lib/views/backend/spree/admin/promotions/edit.html.erb |
solidus_legacy_promotions-4.4.0 | lib/views/backend/spree/admin/promotions/edit.html.erb |