Sha256: 0ab9ae374da15c42a072a81eeb0fa3e97a29325bf79ef747d1999371a2176772
Contents?: true
Size: 716 Bytes
Versions: 13
Compression:
Stored size: 716 Bytes
Contents
<% # headmin/filters/number # # ==== Required parameters # * +attribute+ - Name of the attribute to be filtered # * +form+ - Form object # # ==== Optional parameters # * +label+ - Display label # * +name+ - Name of the filter parameter # # ==== Examples # Basic version # <%= render "headmin/filters", url: admin_orders_path do |form| %#> # <%= render "headmin/filters/number", form: form, attribute: :beverages %#> # <% end %#> number = Headmin::Filter::NumberView.new(local_assigns.merge(params: params)) %> <%= render "headmin/filters/base", number.base_options do |value| %> <%= render "headmin/forms/number", number.input_options.merge({value: value}) %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems