Sha256: 4bac5959ddc0bcf8182564a64fc810e0bbbea228dbc3c6b20fc3753a87079258

Contents?: true

Size: 575 Bytes

Versions: 2

Compression:

Stored size: 575 Bytes

Contents

<%= render 'tasuku/taskables/illustration', request: request %>

<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: 'tasuku/taskables/image/responses/form', locals: { request: request } %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tasuku-1.1.0 app/views/tasuku/taskables/image/requests/_request.html.erb
tasuku-1.0.1 app/views/tasuku/taskables/image/requests/_request.html.erb