9 lines
381 B
Plaintext
9 lines
381 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>
|
|
|
|
<% if flash[:error].try(:include?, question.to_i) %>
|
|
<div class="error">Please select or enter an answer. (The character limit for a textarea answer is 1000)</div>
|
|
<% end %>
|