cat-bookmarker/deps/phoenix/priv/templates/phx.gen.html/form.html.heex

16 lines
377 B
Plaintext
Raw Normal View History

2024-03-10 18:52:04 +00:00
<.form let={f} for={@changeset} action={@action}>
<%%= if @changeset.action do %>
<div class="alert alert-danger">
<p>Oops, something went wrong! Please check the errors below.</p>
</div>
<%% end %>
<%= for {label, input, error} <- inputs, input do %>
<%= label %>
<%= input %>
<%= error %>
<% end %>
<div>
<%%= submit "Save" %>
</div>
</.form>