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