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