Current section
Files
Jump to
Current section
Files
priv/templates/use_case.gen.phx_resource_html/form.html.eex
<%%= form_for @changeset, @action, fn f -> %>
<%%= if @changeset.action do %>
<div class="alert alert-danger">
<p><%%= gettext("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 gettext("Save") %>
</div>
<%% end %>