Alkemist v1.0.1-rc AlkemistView
Link to this section 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
Returns the path for a controller action
Renders a batch action item
Creates a collection action link above the index table
Create a link to the export action
Creates the header cell for the index table
Accepts the conn, struct and actual column created by Alkemist.Assign.map_column
Boolean indicator if a column is sortable
Creates an action link to a member action
Renders the given template locally
Creates a scope link
Callback invoked when no template is found. By default it raises but can be customized to render a particular template
Link to this section 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.
Returns the path for a controller action
Renders a batch action item
Creates a collection action link above the index table
Create a link to the export action
Creates the header cell for the index table
Accepts the conn, struct and actual column created by Alkemist.Assign.map_column
Boolean indicator if a column is sortable
Examples:
iex> AlkemistView.is_sortable?({:col, nil, [sortable: true]}) true
iex> AlkemistView.is_sortable?({:col, nil, []}) false
Creates an action link to a member action
Renders the given template locally.
Creates a scope link
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.