Torch.FilterView.number_filter_select
You're seeing just the function
number_filter_select
, go back to Torch.FilterView module for more information.
Specs
number_filter_select(prefix(), field(), map()) :: Phoenix.HTML.safe()
Generates a number filter type select box for a given number
field.
Example
iex> params = %{"post" => %{"rating_greater_than" => 0}}
...> number_filter_select(:post, :rating, params) |> safe_to_string()
"<select class=\"filter-type\" id=\"filters_\" name=\"filters[]\"><option value=\"post[rating_equals]\">Equals</option><option value=\"post[rating_greater_than]\" selected>Greater Than</option><option value=\"post[rating_greater_than_or]\">Greater Than Or Equal</option><option value=\"post[rating_less_than]\">Less Than</option></select>"