View Source Pow.Phoenix.HTML.FormTemplate (Pow v1.0.27)

Module that can build user form templates for Phoenix.

For Phoenix 1.3, or bootstrap templates, Pow.Phoenix.HTML.Bootstrap can be used.

Link to this section Summary

Link to this section Functions

Link to this function

render(inputs, opts \\ [])

View Source
@spec render(list(), Keyword.t()) :: Macro.t()

Renders a form.

options

Options

  • :button_label - the submit button label, defaults to "Submit".
  • :bootstrap - to render form as bootstrap, defaults to false with phoenix 1.4 and true with phoenix 1.3.