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

HTML helpers for our styled (Tailwind) forms.

Link to this section Summary

Link to this section Functions

Link to this function

changeset_error_block(changeset)

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?(extension)

View Source
Link to this function

styled_button(inner_block, opts \\ [])

View Source
Link to this function

styled_button_link(inner_block, opts)

View Source
Link to this function

styled_button_live_patch(inner_block, opts)

View Source
Link to this function

styled_button_live_redirect(inner_block, opts)

View Source
Link to this function

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

View Source