The form a new user fills in to create an account.
Asks for a username, a password and its confirmation, creates the account in
the Drafter.Accounts server given in props.accounts, and stops. The outcome
is sent to props.notify (default: the loop process) as
{:drafter_registration, {:ok, account}} or {:drafter_registration, :cancelled}.
Tab moves between fields, Enter submits, Escape or ctrl+c cancels. A refusal from the store is shown above the form and the fields stay filled.
Props
:accounts- theDrafter.Accountsserver. Required.:notify- the pid told the outcome. Defaultself()at mount.:title- the heading. Default"Create an account".
Summary
Functions
Callback implementation for Drafter.App.on_timer/2.
Callback implementation for Drafter.App.unmount/1.
Functions
Callback implementation for Drafter.App.on_timer/2.
Callback implementation for Drafter.App.unmount/1.