Alkemist v1.0.1-rc Alkemist.FormView

This module contains helper methods to render the new and edit forms

Link to this section Summary

Link to this section Functions

Link to this function error_messages(changeset)

iterates through a changeset and collects all errors

Link to this function form_field(form, arg)

Renders a form field within the new and edit form

Link to this function form_field_decorator(form, field)

Renders a text input type

Link to this function get_field_opts(opts, defaults)
Link to this function input_element(form, arg)
Link to this function render_has_many_inputs(form, arg, new_record \\ false)
Link to this function render_has_one_inputs(form, arg, new_record \\ false)