Sha256: 4f7c4ad39ab00bac3196e88d3f8afeab8f213b956542755ee335e8ec8ec18440

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 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 'tasuku.taskables.texts.responses.already_responded' %>
  <div class="response">
    <% request.responses.by(current_user).each do |response| %>
      <%= response.text %>
    <% end %>
  </div>
<% else %>
  <div class="form">
    <%= render partial: 'tasuku/taskables/text/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/text/requests/_request.html.erb
tasuku-0.1.0 app/views/tasuku/taskables/text/requests/_request.html.erb