%= form_for @changeset, @action, fn f -> %>
<%= if @changeset.action do %>
Oops, something went wrong! Please check the errors below.
<% end %>
<%= label f, :is_url %>
<%= checkbox f, :is_url %>
<%= error_tag f, :is_url %>
<%= label f, :content %>
<%= textarea f, :content %>
<%= error_tag f, :content %>
<%= submit "Save" %>
<% end %>