Torch.FilterView.filter_date_select

You're seeing just the function filter_date_select, go back to Torch.FilterView module for more information.
Link to this function

filter_date_select(prefix, field, params)

View Source

Specs

filter_date_select(prefix(), field(), map()) :: Phoenix.HTML.safe()

Generates a "before/after" filter type select box for a given date or datetime field.

Example

iex> params = %{"post" => %{"updated_at_after" => "01/01/2019"}}
...> filter_date_select(:post, :updated_at, params) |> safe_to_string()
"<select class=\"filter-type\" id=\"filters_\" name=\"filters[]\"><option value=\"post[updated_at_before]\">Before</option><option value=\"post[updated_at_after]\" selected>After</option></select>"