<.form let={f} for={@changeset} action={@action}> <%%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

<%% end %> <%= for {label, input, error} <- inputs, input do %> <%= label %> <%= input %> <%= error %> <% end %>
<%%= submit "Save" %>