6 lines
178 B
Plaintext
6 lines
178 B
Plaintext
|
<% if flash[:answer_error] == question.question_id %>
|
||
|
<% answer.errors.messages[:answer].each do |message| %>
|
||
|
<div class="error"><%= message %></div>
|
||
|
<% end %>
|
||
|
<% end %>
|