Sha256: 7bbf5941257699df1043454c4c105a1641a96999fb2ace00c8f8652c381516f4

Contents?: true

Size: 824 Bytes

Versions: 36

Compression:

Stored size: 824 Bytes

Contents

<% prefixedClass = 'refine-clause-select-prefixed' if meta[:prefix] %>
<%= tag.div class: prefixedClass, data: {
  action: "$change->refine--update#clause",
  controller: 'fields--super-select',
  fields__super_select_enable_search_value: 'true',
  fields__super_select_container_width_value: 'resolve',
} do %>
  <% if meta[:prefix] %>
    <span class="refine-clause-select-prefix"><%= meta[:prefix] %></span>
  <% end %>
  <select
    data-fields--super-select-target="select"
    data-input-id='<%= input_id if defined? input_id %>'
    name="clauses"
    class="refine-clause-select"
  >
    <% meta[:clauses].each do |clause| %>
      <option
        value="<%= clause[:id] %>"
        <% if selected_clause == clause[:id] %>selected<% end %>
      ><%= clause[:display] %></option>
    <% end %>
  </select>
<% end %>

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
refine-rails-2.13.3 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.13.2 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.13.1 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.13.0 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.12.2 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.12.1 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.12.0 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.12 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.11 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.10 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.9 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.8 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.6 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.5 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.4 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.3 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.2 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.1 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.11.0 app/views/refine/blueprints/_clause_select.html.erb
refine-rails-2.10.1 app/views/refine/blueprints/_clause_select.html.erb