Sha256: 3201329e5e701517c4ad39f3c566ed0500c6e3c6a74a4b50f577b15936dfc671

Contents?: true

Size: 936 Bytes

Versions: 4

Compression:

Stored size: 936 Bytes

Contents

<div data-hook="admin_adjustment_form_fields">
  <div class="row">

    <div class="col-xs-3">
      <%= 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="col-xs-6">
      <%= 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="col-xs-3">
      <%= 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>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

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