Sha256: b41e0b40ae2d9cd7472ada84730e59a02f65beeb59fe9b722342bc03d6bb5c0d

Contents?: true

Size: 906 Bytes

Versions: 6

Compression:

Stored size: 906 Bytes

Contents

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

<%= form_for :promotion_code_batch, url: collection_url do |f| %>
  <%= f.hidden_field :promotion_id, value: params[:promotion_id] %>

  <%= f.field_container :base_code do %>
    <%= f.label :base_code %>
    <%= f.text_field :base_code, class: "fullwidth" %>
  <% end %>

  <%= f.field_container :number_of_codes do %>
    <%= f.label :number_of_codes %>
    <%= f.text_field :number_of_codes, class: "fullwidth" %>
  <% end %>

  <%= f.field_container :email do %>
    <%= f.label :email %>
    <%= f.text_field :email, class: "fullwidth", value: spree_current_user.email %>
  <% end %>
  <%= button t('spree.actions.create') %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-2.5.2 app/views/spree/admin/promotion_code_batches/new.html.erb
solidus_backend-2.5.1 app/views/spree/admin/promotion_code_batches/new.html.erb
solidus_backend-2.5.0 app/views/spree/admin/promotion_code_batches/new.html.erb
solidus_backend-2.5.0.rc1 app/views/spree/admin/promotion_code_batches/new.html.erb
solidus_backend-2.5.0.beta2 app/views/spree/admin/promotion_code_batches/new.html.erb
solidus_backend-2.5.0.beta1 app/views/spree/admin/promotion_code_batches/new.html.erb