Sha256: b548547c112d087fe8d577ddae83ed473ba1adea1cda2ca88178e19e058dc6ef
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
Contents
<tr class="volume_price fields"> <td> <%= error_message_on(f.object, :name) %> <%= f.text_field :name, size: 10, class: 'form-control' %> </td> <td> <%= error_message_on(f.object, :discount_type) %> <%= f.select :discount_type, [ ["#{Spree.t(:total_price)}", 'price'], ["#{Spree.t(:percent_discount)}", 'percent'], ["#{Spree.t(:price_discount)}", 'dollar'] ], { include_blank: true }, class: 'select2' %> </td> <td> <%= error_message_on(f.object, :range) %> <%= f.text_field :range, size: 10, class: 'form-control' %> </td> <td> <%= error_message_on(f.object, :amount) %> <%= f.text_field :amount, size: 10, class: 'form-control' %> </td> <td> <%= error_message_on(f.object, :position) %> <%= f.text_field :position, size: 3, class: 'form-control' %> </td> <td> <%= error_message_on(f.object, :role_id) %> <%= f.collection_select(:role_id, Spree::Role.all, :id, :name, { include_blank: Spree.t('match_choices.none') }, { class: 'select2' }) %> </td> <td class="actions"> <%= link_to_remove_fields Spree.t(:remove), f, no_text: true %> </td> </tr>
Version data entries
2 entries across 2 versions & 1 rubygems