View Source Legendary.CoreWeb.Helpers (Legendary v8.2.5)

HTML helpers for our styled (Tailwind) forms.

Link to this section Summary

Link to this section Functions

Link to this function

changeset_error_block(arg)

View Source

See Legendary.AuthWeb.Helpers.current_user/1.

Link to this function

floating_form(title, changeset, list)

View Source
@spec floating_form(any(), atom() | %{action: any()}, [{:do, any()}, ...]) ::
  {:safe, [...]}
Link to this function

floating_page_wrapper(arg)

View Source
Link to this function

group_rounding_class(arg, current, list \\ ["rounded-l", "", "rounded-r"])

View Source

See Legendary.AuthWeb.Helpers.has_role?/2.

Link to this function

pow_extension_enabled?(arg)

View Source
Link to this function

styled_button(text, opts \\ [])

View Source
Link to this function

styled_button_link(assigns)

View Source

slots

Slots

  • inner_block (required)
Link to this function

styled_button_link(text, opts)

View Source
Link to this function

styled_button_live_patch(text, opts)

View Source
Link to this function

styled_button_live_redirect(text, opts)

View Source
Link to this function

styled_input(f, field, opts \\ [], options \\ nil, block_list \\ [])

View Source