2016-07-30 16:25:09 -05:00
|
|
|
<label for="answer_text">Enter answer here</label>
|
|
|
|
<textarea id="answer_text" name="answer[text]" rows="10"><%= question.answer %></textarea>
|
2016-07-27 22:16:12 -05:00
|
|
|
|
2016-07-28 20:54:08 -05:00
|
|
|
<div class="chars">Characters remaining: <span></span></div>
|
2016-07-27 22:16:12 -05:00
|
|
|
|
2016-07-30 16:25:09 -05:00
|
|
|
<% 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 %>
|