% if question.image? %>
<%= image_tag question.image %>
<% end %>
<%= question.text %>
<%= question.description %>
<% if question.completed_by? current_author %>
<%= t 'tasks.taskables.questions.answers.already_answered' %>
<% question.answers.by(current_author).each do |answer| %>
<% answer.votes.each do |vote| %>
<%= vote.option.text %>
<% end %>
<% end %>
<% if question.show_statistics? %>
<%= render 'tasks/taskables/questions/answers/statistics', question: question %>
<% end %>
<% else %>
<%= render 'tasks/taskables/questions/answers/form', question: question %>
<% end %>