Move templates to components

This commit is contained in:
Mirai Kumiko 2025-06-08 13:32:58 +02:00
parent 4fb1e200f1
commit cd1e5887c5
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
12 changed files with 15 additions and 14 deletions

View file

@ -0,0 +1,9 @@
<.simple_form :let={f} for={@changeset} action={@action}>
<.error :if={@changeset.action}>
Oops, something went wrong! Please check the errors below.
</.error>
<.input field={f[:username]} type="text" label="Username" />
<:actions>
<.button>Save User</.button>
</:actions>
</.simple_form>