<% if request.image? %>
<%= image_tag request.image %>
<% end %>
<%= request.text %>
<%= request.description %>
<% if request.completed_by? current_author %> <%= t 'tasks.taskables.images.responses.already_uploaded' %>
<% request.responses.by(current_user).each do |response| %> <%= image_tag response.image %> <% end %>
<% else %>
<%= render partial: 'tasks/taskables/image/responses/form', locals: { request: request } %>
<% end %>