Current section
Files
Jump to
Current section
Files
priv/templates/phx.gen.html/form.html.eex
= form_for @changeset, @action, fn f ->
= if @changeset.action do
.alert.alert-danger
p Oops, something went wrong! Please check the errors below.
<%= for {label, input, error} <- inputs, input do %> <%= label %>
<%= input %>
<%= error %>
<% end %> div
= submit "Submit"