skill-assessment-app/app/views/candidate/_text.html.erb
2016-08-01 09:50:01 -05:00

7 lines
301 B
Plaintext

<label for="answer_text">Enter answer here</label>
<textarea id="answer_text" name="answer[text]" rows="10"><%= question.answer %></textarea>
<div class="chars">Characters remaining: <span></span></div>
<%= render partial: "candidate/answer_errors", locals: {question: question, answer: @answer} %>