%= form_for @changeset, @action, fn f -> %>
<%= if @changeset.action do %>
Oops, something went wrong! Please check the errors below.
<% end %>
<%= label(f, :title) %>
<%= text_input(f, :title, class: "input input--wide") %>
<%= label(f, :slug) %>
<%= text_input(f, :slug, class: "input input--wide") %>
<%= label(f, :body) %>
<%= textarea(f, :body, class: "input input--wide") %>
<%= submit("Save", class: "button") %>
<% end %>