shield v0.1.1 Shield.ChangesetView
Summary
Functions
Returns true whenever the list of templates changes in the filesystem
The resource name, as an atom, for this view
Returns the template root alongside all templates
Renders the given template locally
Callback invoked when no template is found. By default it raises but can be customized to render a particular template
Traverses and translates changeset errors
Functions
Specs
template_not_found(Phoenix.Template.name, map) :: no_return
Callback invoked when no template is found. By default it raises but can be customized to render a particular template.
Traverses and translates changeset errors.
See Ecto.Changeset.traverse_errors/2
and
Shield.ErrorHelpers.translate_error/1
for more details.