Sha256: 5dee793afa61e028135ae93624b0317e4f1697f4e6b29164c82fa31b70dc7f93

Contents?: true

Size: 902 Bytes

Versions: 17

Compression:

Stored size: 902 Bytes

Contents

<div data-hook="admin_adjustment_form_fields" class="row">
  <div class="alpha three columns">
    <%= f.field_container :amount do %>
      <%= f.label :amount, class: 'required' %>
      <%= text_field :adjustment, :amount, class: 'fullwidth' %>
      <%= f.error_message_on :amount %>
    <% end %>
  </div>

  <div class="six columns">
    <%= f.field_container :label do %>
      <%= f.label :label, class: 'required' %>
      <%= text_field :adjustment, :label, class: 'fullwidth' %>
      <%= f.error_message_on :label %>
    <% end %>
  </div>

  <div class="omega three columns">
    <%= f.field_container :label do %>
      <%= f.label :adjustment_reason_id %><br/>
      <%= f.collection_select(:adjustment_reason_id, reasons_for(@adjustment), :id, :name, {include_blank: true}, {"data-placeholder" => Spree.t(:select_a_reason), class: 'select2 fullwidth'}) %>
    <% end %>
  </div>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
solidus_backend-2.0.3 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.4.2 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.3.2 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-2.0.2 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.4.1 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-2.0.1 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-2.0.0 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.4.0 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.3.1 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.3.0 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/adjustments/_form.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/adjustments/_form.html.erb