Sha256: 1975cbaa0b6884b7560231840ab4f40e699e46b794b857cb20e86133ad49bf2d
Contents?: true
Size: 860 Bytes
Versions: 35
Compression:
Stored size: 860 Bytes
Contents
<% is_range = ['btwn', 'nbtwn'].include? input_fields.object.clause value1_placeholder = criterion.condition.display.downcase value1_placeholder += " (#{t('.min')})" if is_range value2_placeholder = "#{criterion.condition.display.downcase} (#{t('.max')})" %> <%= tag.div class: ('btwn' ? 'refine--numeric-condition-container' : 'refine-numeric-condition-container-btwn') do %> <%= input_fields.text_field :value1, class: "refine--input refine--numeric-input", placeholder: value1_placeholder, form: form_id %> <% if is_range %> <div class="refine--numeric-condition-and"><%= t(".and") %></div> <div class="refine--numeric-condition-second-container"> <%= input_fields.text_field :value2, class: "refine--input refine--numeric-input", placeholder: value2_placeholder, form: form_id %> </div> <% end %> <% end %>
Version data entries
35 entries across 30 versions & 1 rubygems