Sha256: 8e9b7a6f9087abee737d016d6d00121f8114d19ab16500f1f1a0e4f46533f92b

Contents?: true

Size: 251 Bytes

Versions: 5

Compression:

Stored size: 251 Bytes

Contents

<%= button_tag(t(:filter), name: "#{filter_prefixes[:main]}button", value: :filter, class: 'btn btn-default') %>
<%= link_to t(:clear_filter), request.parameters.select {|k,v| !k.to_s.starts_with?(filter_prefixes[:main])}, class: 'btn btn-default' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
easy_filter-0.2.0 app/views/easy_filter/_buttons.html.erb
easy_filter-0.1.1 app/views/easy_filter/_buttons.html.erb
easy_filter-0.1.0 app/views/easy_filter/_buttons.html.erb
easy_filter-0.0.4 app/views/easy_filter/_buttons.html.erb
easy_filter-0.0.3 app/views/easy_filter/_buttons.html.erb