philomena/lib/philomena_web/templates/image/form.html.eex

12 lines
263 B
Elixir
Raw Normal View History

2019-08-18 18:17:05 +02:00
<%= form_for @changeset, @action, fn f -> %>
<%= if @changeset.action do %>
<div class="alert alert-danger">
<p>Oops, something went wrong! Please check the errors below.</p>
</div>
<% end %>
<div>
<%= submit "Save" %>
</div>
<% end %>