Sha256: 4591f21533254d4ecd79ecb640090ac9c6e916ca397d44b2553ae97d92ba1512

Contents?: true

Size: 758 Bytes

Versions: 13

Compression:

Stored size: 758 Bytes

Contents

<div class="comment">
  <div class="created_at">
    <%= resource.created_at.strftime("%d.%m.%Y %H:%M:%S") %> <%= resource.name %> 
    (<%= link_to resource.user.name, resource.user %>)
  </div>
  <div class="content">
    <%= markdown resource.text %>
  </div>
  <div class="actions">
    <%= link_to t('comments.show.reply'), eval(
      "new_#{resource.commentable_type.tableize.singularize}_comment_path(resource.commentable, comment: { parent_id: resource.id })" 
    ), class: 'new_comment' %> |
    <%= link_to t('general.edit'), edit_comment_path(resource), class: 'edit_comment' %> |
    <%= link_to t('general.destroy'), resource, data: { confirm: t('general.questions.are_you_sure') }, method: :delete, class: 'destroy_comment' %>
  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
voluntary-0.7.1 app/views/comments/_resource.html.erb
voluntary-0.7.0 app/views/comments/_resource.html.erb
voluntary-0.6.0 app/views/comments/_resource.html.erb
voluntary-0.5.2 app/views/comments/_resource.html.erb
voluntary-0.5.1 app/views/comments/_resource.html.erb
voluntary-0.5.0 app/views/comments/_resource.html.erb
voluntary-0.4.0 app/views/comments/_resource.html.erb
voluntary-0.3.0 app/views/comments/_resource.html.erb
voluntary-0.2.4 app/views/comments/_resource.html.erb
voluntary-0.2.3 app/views/comments/_resource.html.erb
voluntary-0.2.2 app/views/comments/_resource.html.erb
voluntary-0.2.1 app/views/comments/_resource.html.erb
voluntary-0.2.0 app/views/comments/_resource.html.erb