Sha256: 56b66a11fd261137b48bf64003c724c2899b9bd19b56acc453e1f48e2e005d06

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

<% if request.image? %>
  <div class="image"><%= image_tag request.image %></div>
<% end %>

<div class="text"><%= request.text %></div>
<div class="description"><%= request.description %></div>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 app/views/tasks/taskables/image/requests/_request.html.erb