3c3b7f5304
again, and not the last
9 lines
376 B
Plaintext
9 lines
376 B
Plaintext
<% hidden = params[:action] == 'summary' ? 'hidden' : '' %>
|
|
|
|
<label for="answer_text">Enter answer here</label>
|
|
<textarea id="answer_text" name="answer[text]" rows="10"><%= question.answer %></textarea>
|
|
|
|
<div class="chars <%= hidden %>">Characters remaining: <span></span></div>
|
|
|
|
<%= render partial: "candidate/answer_errors", locals: {question: question, answer: @answer} %>
|