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

12 lines
263 B
Elixir
Raw Normal View History

2019-08-18 20:14:36 +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 %>