<.header class="text-center"> Register for an account <:subtitle> Already registered? <.link navigate={~p"<%= schema.route_prefix %>/log_in"} class="font-semibold text-brand hover:underline"> Log in to your account now. <.simple_form :let={f} for={@changeset} action={~p"<%= schema.route_prefix %>/register"}> <.error :if={@changeset.action == :insert}> Oops, something went wrong! Please check the errors below. <.input field={f[:email]} type="email" label="Email" required /> <.input field={f[:password]} type="password" label="Password" required /> <:actions> <.button phx-disable-with="Creating account..." class="w-full">Create an account