Packages
Multi-surface application runtime for Elixir. One TEA module renders to terminal, browser (LiveView), SSH, and MCP (agents). 30+ widgets, flexbox + CSS grid, AI agent runtime, distributed swarm with CRDTs, time-travel debugging, session recording, sandboxed REPL, and agentic commerce.
Current section
Files
Jump to
Current section
Files
lib/raxol_web/controllers/user_registration_html/new.html.heex
<div class="mx-auto max-w-sm">
<.header class="text-center">
Register for an account
<:subtitle>
Already registered?
<.link navigate={~p"/login"} class="font-semibold text-brand hover:underline">
Sign in
</.link>
to your account now.
</:subtitle>
</.header>
<.simple_form for={@changeset} action={~p"/register"} phx-update="ignore">
<.input field={@changeset[:email]} type="email" label="Email" required />
<.input field={@changeset[:username]} type="text" label="Username" required />
<.input field={@changeset[:password]} type="password" label="Password" required />
<.input field={@changeset[:password_confirmation]} type="password" label="Confirm Password" required />
<:actions>
<.button phx-disable-with="Creating account..." class="w-full">
Create an account
</.button>
</:actions>
</.simple_form>
</div>