Sha256: 3117f7d485838d3f166c72a0ac4288d523d3c1ff5c769018bcfe4e9bee599dc3
Contents?: true
Size: 837 Bytes
Versions: 2
Compression:
Stored size: 837 Bytes
Contents
<%= render 'tasuku/taskables/illustration', request: question %> <div class="text"><%= question.text %></div> <div class="description"><%= question.description %></div> <% if question.completed_by? current_author %> <%= t 'tasuku.taskables.questions.answers.already_answered' %> <div class="answer"> <% question.answers.by(current_author).each do |answer| %> <ul> <% answer.votes.each do |vote| %> <%= vote.option.text %> <span class="reply"><%= vote.option.reply %></span> <% end %> </ul> <% end %> <% if question.show_statistics? %> <%= render 'tasuku/taskables/questions/answers/statistics', question: question %> <% end %> </div> <% else %> <div class="options"> <%= render 'tasuku/taskables/questions/answers/form', question: question %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tasuku-1.1.0 | app/views/tasuku/taskables/questions/_question.html.erb |
tasuku-1.0.1 | app/views/tasuku/taskables/questions/_question.html.erb |