Sha256: eea1bcb0faddc7c26c9cb63406cbf2b1ea757c59250062f2c1372ad9e3db6d13

Contents?: true

Size: 1.3 KB

Versions: 6

Compression:

Stored size: 1.3 KB

Contents

<div class="filter-container row">
  <%= form_tag filter_path, method: :get, class: 'col s12', remote: true do |f| %>
    <div class="row">
      <% JeraPush::Device.platform.values.each do |platform|  %>
        <div class="input-field col s2 custom-col">
          <p>
            <%= check_box_tag :"platform[]", platform, filter.platform.include?(platform), id: "platform_#{platform}"  %>
            <label for="platform_<%= platform %>"><%= platform %><label>
          </p>
        </div>
      <% end %>
    </div>
    <div class="row">
      <div class="input-field col s12">
        <%= select_tag :resource_name, options_for_select(translate_resource_names(JeraPush.resources_name), filter.resource_name) %>
      </div>
    </div>
    <div class="row">
      <div class="input-field col s3">
        <%= select_tag :field, options_for_select(devices_fields_for_filter_select, filter.field) %>
      </div>
      <div class="input-field col s9">
        <div class="col s6">
          <%= text_field_tag :value, filter.value %>
          <label class="fix-left-label" for="value"><%= t('jera_push.admin.filter.value') %></label>
        </div>

        <div class="input-field col s3">
          <%= submit_tag t('jera_push.admin.filter.button'), class: 'btn' %>
        </div>
      </div>
    </div>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jera_push-2.1.4 app/views/jera_push/admin/devices/_filter.html.erb
jera_push-2.1.3 app/views/jera_push/admin/devices/_filter.html.erb
jera_push-2.1.2 app/views/jera_push/admin/devices/_filter.html.erb
jera_push-2.0.0 app/views/jera_push/admin/devices/_filter.html.erb
jera_push-1.2.4 app/views/jera_push/admin/devices/_filter.html.erb
jera_push-1.2.3 app/views/jera_push/admin/devices/_filter.html.erb