Sha256: ce2a79cfb70a25489d1fc52c32ec385a0b87cb8a46e139a08a379fc6592d4696

Contents?: true

Size: 1.26 KB

Versions: 12

Compression:

Stored size: 1.26 KB

Contents

<%= form_tag(keys_path, method: :get, class: 'p-4', enforce_utf8: false) do %>
  <div class="row">
    <div class="col-12">
      <div class="form-group">
        <%= label_tag :query, 'Name', class: 'font-weight-bolder' %>
        <%= text_field_tag :query, params[:query], class: 'form-control', placeholder: 'Search key(s)' %>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-4">
      <div class="form-group">
        <%= label_tag :type, 'Type', class: 'font-weight-bolder' %>
        <%= select_tag :type, options_for_select(types_filters, params[:type]), class: 'form-control custom-select' %>
      </div>
    </div>
    <div class="col-4">
      <div class="form-group">
        <%= label_tag :expiry, 'Expiry', class: 'font-weight-bolder' %>
        <%= select_tag :expiry, options_for_select(expiry_filters, params[:expiry]), class: 'form-control custom-select' %>
      </div>
    </div>
    <div class="col-4">
      <div class="form-group">
        <%= label_tag :memory, 'Memory', class: 'font-weight-bolder' %>
        <%= select_tag :memory, options_for_select(memory_filters, params[:memory]), class: 'form-control custom-select' %>
      </div>
    </div>
  </div>
  <%= submit_tag 'Search', class: 'btn btn-primary btn-block', name: nil %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
redis_web_manager-0.4.0 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.9 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.8 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.6 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.5 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.4 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.3 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.2 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.1 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.3.0 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.2.1 app/views/redis_web_manager/keys/_search.html.erb
redis_web_manager-0.2.0 app/views/redis_web_manager/keys/_search.html.erb