Pow v1.0.0-rc.1 Pow.Phoenix.HTML.FormTemplate View Source

Module that can build user form templates for Phoenix.

This module is build to support Phoenix 1.4 with minimalist CSS. Another module Pow.Phoenix.HTML.Bootstrap exists to ensure Phoenix 1.3 templates can be rendered with Bootstrap CSS classes. This is the default behaviour until Phoenix 1.4 is released.

Link to this section Summary

Link to this section Functions

Link to this function render(inputs, opts \\ []) View Source
render(list(), Keyword.t()) :: Macro.t()

Renders a form.

Options

  • :button_label - the submit button label, defaults to “Submit”.
  • :bootstrap - to render form as bootstrap, defaults to true.