Sha256: b52a2fa2ffd68ebc1081f9cbddccf81d1ed88d20e030c1c85cdb3644fc328377

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tasuku-0.1.1 app/views/tasuku/taskables/image/requests/_request.html.erb
tasuku-0.1.0 app/views/tasuku/taskables/image/requests/_request.html.erb