Sha256: 3a6659baf29dd0e8693e78eefff43b13e1b3a667d3ff7b46e25f4644c3f66535

Contents?: true

Size: 628 Bytes

Versions: 2

Compression:

Stored size: 628 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.urls.responses.already_answered' %>
  <div class="response url">
    <% request.responses.by(current_user).each do |response| %>
      <%= embed_video(response, Tasuku.config.video_width, Tasuku.config.video_height) %>
    <% end %>
  </div>
<% else %>
  <div class="form">
    <%= render partial: 'tasuku/taskables/url/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/url/requests/_request.html.erb
tasuku-1.0.1 app/views/tasuku/taskables/url/requests/_request.html.erb