<h1> Create question. </h1>

<form action = '/questions' method = 'post'>
  <label for='question[text]'>Question</label>
  <input type = 'text' name = 'question[text]'>

  <input type='hidden' name='question[survey_id]' value='<%=@survey.id%>'>

  <input type = 'submit' value = 'Add Question'>
</form>

<h1> Create question. </h1>

<form action = '/questions' method = 'post'>
  <label for='question[text]'>Question</label>
  <input type = 'text' name = 'question[text]'>

  <input type='hidden' name='question[survey_id]' value='<%=@survey.id%>'>

  <input type = 'submit' value = 'Add Question'>
</form>

<button><a href = "/surveys/<%=@survey.id%>">I'm done with my survey</a></button>

Add done with survey button
Add done with survey button
