Sha256: b03ec7cded816b23605e5ba477a968fb612cac93ae1734567dbc3017ec3ae28d

Contents?: true

Size: 631 Bytes

Versions: 19

Compression:

Stored size: 631 Bytes

Contents

<%= form_tag(request.fullpath, method: 'get', class: 'form-inline pull-right') do %>
  <div class='form-group'>
    <% unless local_assigns.fetch(:hide_create_button, false) %>
      <%= link_to(t('kadmin.components.finder.create'), url_for(action: :new), class: 'btn btn-primary', style: 'margin-right: 20px') %>
    <% end %>
    <% finder.filters.each do |name, filter| %>
      <%= text_field_tag("filter_#{name}", filter&.value, class: 'form-control', placeholder: "Filter by #{name}...") %>
    <% end %>
    <%= submit_tag(t('kadmin.components.finder.filter'), class: 'btn btn-secondary form-control') %>
  </div>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
kadmin-1.0.9 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.8 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.7 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.6 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.5 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.4 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.3 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.2 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.1 app/views/kadmin/components/finder/_form.html.erb
kadmin-1.0.0 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.9.5 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.9.4 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.8.0 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.7.5 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.7.4 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.7.3 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.7.2 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.7.1 app/views/kadmin/components/finder/_form.html.erb
kadmin-0.7.0 app/views/kadmin/components/finder/_form.html.erb