Alkemist v1.0.1-rc Alkemist.SearchView

This Module contains helper methods to render the filter form

Link to this section Summary

Link to this section Functions

Link to this function filter_field(form, arg)

Renders a filter field for the search form

Example:

  filter_field(form, {:category_id, [type: :select, collection: @categories]})
Link to this function filter_field_decorator(form, field_name, type, opts)
Link to this function input_field(form, field, arg3, opts)
Link to this function round_filter_field(form, arg)