Torch.FilterView.filter_string_input
You're seeing just the function
filter_string_input
, go back to Torch.FilterView module for more information.
Specs
filter_string_input(prefix(), field(), map()) :: Phoenix.HTML.safe()
Generates a filter input for a string field.
Example
iex> params = %{"post" => %{"title_contains" => "test"}}
iex> filter_string_input(:post, :title, params) |> safe_to_string()
"<input id=\"post_title_contains\" name=\"post[title_contains]\" type=\"text\" value=\"test\">"