Sha256: dd61f6d793af65b79082ab71888b784967e43f986c0c7aeea5fca68b2f9bb2f0

Contents?: true

Size: 573 Bytes

Versions: 14

Compression:

Stored size: 573 Bytes

Contents

<%#
    headmin/filters/filter/conditional
    accepts block: no
    parameters:

%>

<% conditional = Headmin::Filter::ConditionalView.new(local_assigns) %>

<div class="h-filter-conditional">
  <select class="form-control-plaintext form-control-sm" data-action="change->filter#updateHiddenValue" data-filter-target="conditional">
    <% conditional.values.each do |value, display_value| %>
      <option value="<%= value %>" <%= conditional.selected == value.to_s ? "selected" : "" %>>
        <%= display_value.upcase %>
      </option>
    <% end %>
  </select>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
headmin-0.6.3 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.6.2 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.6.1 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.6.0 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.9 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.8 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.7 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.6 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.5 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.4 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.3 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.2 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.1 app/views/headmin/filters/filter/_conditional.html.erb
headmin-0.5.0 app/views/headmin/filters/filter/_conditional.html.erb