Sha256: 931ab13605070fdf2851e880167490c21b7c42962f5da1d6a8e94be72fcb49ef

Contents?: true

Size: 656 Bytes

Versions: 2

Compression:

Stored size: 656 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.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-0.1.1 app/views/tasuku/taskables/url/requests/_request.html.erb
tasuku-0.1.0 app/views/tasuku/taskables/url/requests/_request.html.erb