Sha256: b975a8d9741c980e128da6a147f8200e8f5dff3dcf82b226393c0f463a7d33be
Contents?: true
Size: 1.1 KB
Versions: 30
Compression:
Stored size: 1.1 KB
Contents
<% selected = input.has_key?(:selected) ? input[:selected] : [] %> <% if ['st', 'nst'].include? input[:clause] %> <!-- Render nothing --> <% elsif %> <%= tag.div class: 'refine-filter-condition-container' do %> <%= tag.div data: { action: "$change->refine--update#selected blur->refine--update#refreshFromServer", controller: 'fields--super-select', fields__super_select_enable_search_value: 'true', fields__super_select_container_width_value: 'resolve', } do %> <select class="refine-filter-condition-select" data-fields--super-select-target="select" name="values" data-input-id='<%= input_id if input_id%>' > <% condition.meta[:options].each do |option| %> <option value="<%= option[:id] %>" <% if selected.find { |id| id == option[:id] } %>selected<% end %> > <%= option[:display] %> </option> <% end %> </select> <% end %> <% if meta[:postfix] %> <span class="refine-filter-condition-postfix"><%= meta[:postfix] %></span> <% end %> <% end %> <% end %>
Version data entries
30 entries across 30 versions & 1 rubygems