ash_phoenix/priv/templates/ash_phoenix.gen.html/edit.html.heex
2023-10-16 18:17:22 -04:00

8 lines
364 B
Text

<.header>
Edit <%= @resource %> <%%= @<%= @singular %>.id %>
<:subtitle>Use this form to manage <%= @singular %> records in your database.</:subtitle>
</.header>
<.<%= @singular %>_form <%= @singular %>={@<%= @singular %>} form={@form} action={~p"/<%= @plural %>/#{@<%= @singular %>}"} />
<.back navigate={~p"/<%= @plural %>"}>Back to <%= @plural %></.back>