Sha256: c270028131ad791eec80b4f93f2639ad7e0a5f9f80235a2b2c25127a310fc206

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

<p>
  <strong>Commenter:</strong>
  <%= comment.user.full_name  %>
</p>
<p>
  <strong>Comment:</strong>
  <%= comment.body %>
</p>
<br>

<% if current_user && current_user == comment.user %>
  <%= link_to 'Destroy Comment', [comment.article, comment], method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
  <hr>
<% end %>
<br>
<br>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blog_app-0.0.1 lib/app/views/comments/_comment.html.erb