Torch.FilterView.filter_select
You're seeing just the function
filter_select
, go back to Torch.FilterView module for more information.
Specs
filter_select(prefix(), field(), map()) :: Phoenix.HTML.safe()
Generates a "contains/equals" filter type select box for a given string
or
text
field.
Example
iex> params = %{"post" => %{"title_contains" => "test"}}
...> filter_select(:post, :title, params) |> safe_to_string()
"<select class=\"filter-type\" id=\"filters_\" name=\"filters[]\"><option value=\"post[title_contains]\" selected>Contains</option><option value=\"post[title_equals]\">Equals</option></select>"