Sha256: 80c308c775ac42b236d326d1fc9fdf8b10bb0d9d0f329796e97055de2ceb86d4

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 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 '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-1.1.0 app/views/tasuku/taskables/text/requests/_request.html.erb
tasuku-1.0.1 app/views/tasuku/taskables/text/requests/_request.html.erb