<% if @comment_vote.errors.any? %> <%= @comment_vote.errors.full_messages.to_json.html_safe %> <% else %> <% end %>