<div id="c-user-feedbacks">
  <div id="a-edit">
    <h1>Edit User Feedback</h1>

    <div id="preview">
    </div>

    <%= edit_form_for(@user_feedback) do |f| %>
      <%= f.input :category, :collection => ["positive", "neutral", "negative"], :include_blank => false %>
      <%= f.input :body, as: :dtext %>
      <%= f.input :is_deleted, label: "Deleted" %>
      <%= f.button :submit, "Submit" %>
      <%= dtext_preview_button "user_feedback_body" %>
    <% end %>
  </div>
</div>

<%= render "secondary_links" %>
