View Source AshAuthentication.Phoenix.Components.Password.SignInForm (ash_authentication_phoenix v1.8.4)
Generates a default sign in form.
Component hierarchy
This is a child of AshAuthentication.Phoenix.Components.Password
.
Children:
AshAuthentication.Phoenix.Components.Password.Input.identity_field/1
AshAuthentication.Phoenix.Components.Password.Input.password_field/1
AshAuthentication.Phoenix.Components.Password.Input.submit/1
Props
strategy
- The configuration map as perAshAuthentication.Info.strategy/2
. Required.label
- The text to show in the submit label. Generated from the configured action name (viaPhoenix.HTML.Form.humanize/1
) if not supplied. Set tofalse
to disable.overrides
- A list of override modules.
Overrides
This component provides the following overrides:
:root_class
- CSS class for the rootdiv
element.:slot_class
- CSS class for thediv
surrounding the slot.:label_class
- CSS class for theh2
element.:form_class
- CSS class for theform
element.:disable_button_text
- Text for the submit button when the request is happening.
See AshAuthentication.Phoenix.Overrides
for more information.
Summary
Types
@type props() :: %{ :strategy => AshAuthentication.Strategy.t(), optional(:label) => String.t() | false, optional(:overrides) => [module()] }