Current section
Files
Jump to
Current section
Files
priv/templates/phoenix_haml.gen.html/form.html.haml
- 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 %>
.form-group
<%= label %>
<%= input %>
<%= error %>
<% end %>
.form-group
= submit "Submit", class: "btn btn-primary"