Sha256: 578803e7167ad34325f9c2b1582de841f94e008e7d5538be989e3549b0ab5a1f

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 Bytes

Contents

<%= form_tag(request.path, method: 'get', class: 'form-inline pull-right') do %>
  <div class='form-group'>
    <%= link_to(t('kadmin.components.finder.create'), url_for(action: :new), class: 'btn btn-primary', style: 'margin-right: 20px') %>
    <% 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-default form-control') %>
    <!--<%= link_to(t('kadmin.components.finder.clear'), request.path, class: 'btn btn-danger form-control') %>-->
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kadmin-0.3.2 app/views/kadmin/components/finder/_form.erb