<!--add suggested answer. question is passed as an argument-->
<%= form_for :suggested_answer, url: {action: "admin_createsuggestedanswer"} do |f| %>
  <%= f.hidden_field :org_id, value: current_user.org_id %>
  <%= f.hidden_field :question_id, value: question.id %>

  <table class="dmp_details_table phase">
    <tr>
      <td class="first_template"><%= t("org_admin.questions.suggested_or_example_answer_label")%></td>
      <td>
        <ul>
          <li><%= f.select :is_example, {t("org_admin.questions.example_answer_label") => true, t("org_admin.questions.suggested_answer_label") => false} %></li>
          <li><%= f.text_area :text, rows: 5 %>
          </li>
        </ul>
      </td>
    </tr>
  </table>
  <br/>

  <!-- submit buttons -->
  <div class="move_2_right">
    <%= f.submit t("helpers.submit.save"), class: "btn btn-primary" %>
    <%= link_to t("helpers.submit.cancel"), "#", id: "cancel_suugested_answer", class: "btn cancel" %>
  </div>
<%end%>
