<%= form_for @changeset, @action, fn f -> %> <%= if @changeset.action do %>

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

<% end %>
<%= submit "Save" %>
<% end %>