ex_sieve_html v0.2.0 ExSieve.HTML

This module contains Phoenix helper function wrappers that help to build search form and sorting links for ExSieve less painful.

Summary

Functions

See ExSieve.HTML.SearchForm.search_form/3

See ExSieve.HTML.SearchForm.search_form/4

See ExSieve.HTML.SortLink.sort_link/4

Functions

search_form(conn, action, fun)

Specs

search_form(Plug.Conn.t, String.t, (Phoenix.HTML.Form.t -> Phoenix.HTML.unsafe)) :: Phoenix.HTML.safe

See ExSieve.HTML.SearchForm.search_form/3.

search_form(conn, action, options, fun)

Specs

search_form(Plug.Conn.t, String.t, Keyword.t, (Phoenix.HTML.Form.t -> Phoenix.HTML.unsafe)) :: Phoenix.HTML.safe

See ExSieve.HTML.SearchForm.search_form/4.

sort_link(conn, field, text, opts)

Specs

sort_link(Plug.Conn.t, String.t, String.t, Keyword.t) :: Phoenix.HTML.safe

See ExSieve.HTML.SortLink.sort_link/4.