Sha256: 9b1f0017039aa82c18d0ea6d46209b7b403567fc6d258d0416e358e0a4b8b336
Contents?: true
Size: 1.37 KB
Versions: 16
Compression:
Stored size: 1.37 KB
Contents
<% admin_breadcrumb link_to plural_resource_name(Spree::Promotion), spree.admin_promotions_path %> <% admin_breadcrumb link_to(@promotion.name, spree.edit_admin_promotion_path(@promotion)) %> <% admin_breadcrumb plural_resource_name(Spree::PromotionCode) %> <% content_for :page_actions do %> <li> <%= 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' %> </li> <% end %> <%= form_for [:admin, @promotion, @promotion_code], method: :post do |f| %> <fieldset class="no-border-top"> <%= render partial: 'spree/shared/error_messages', locals: { target: @promotion_code } %> <div class="row"> <div class="col-4"> <%= f.field_container :value do %> <%= f.label :value, class: 'required' %> <%= f.text_field :value, class: 'fullwidth', required: true %> <% end %> </div> </div> <div class="form-buttons filter-actions actions" data-hook="buttons"> <%= button_tag t('spree.actions.create'), class: 'btn btn-primary' %> <%= link_to t('spree.actions.cancel'), admin_promotion_promotion_codes_url(@promotion), class: 'button' %> </div> </fieldset> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems