<.header class="text-center"> Log in to account <:subtitle> Don't have an account? <.link navigate={~p"<%= schema.route_prefix %>/register"} class="font-semibold text-brand hover:underline"> Sign up for an account now. <.simple_form :let={f} for={@conn.params["<%= schema.singular %>"]} as={:<%= schema.singular %>} action={~p"<%= schema.route_prefix %>/log_in"}> <.error :if={@error_message}>{@error_message} <.input field={f[:email]} type="email" label="Email" required /> <.input field={f[:password]} type="password" label="Password" required /> <:actions :let={f}> <.input field={f[:remember_me]} type="checkbox" label="Keep me logged in" /> <.link href={~p"<%= schema.route_prefix %>/reset_password"} class="text-sm font-semibold"> Forgot your password? <:actions> <.button phx-disable-with="Logging in..." class="w-full"> Log in