aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/code/getting_started/app/views/comments/_comment.html.erb
blob: 4c3fbf26cd4786124ee37d74cf8a1f1bb4dfb4ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<p>
  <b>Commenter:</b>
  <%= comment.commenter %>
</p>
 
<p>
  <b>Comment:</b>
  <%= comment.body %>
</p>
 
<p>
  <%= link_to 'Destroy Comment', [comment.post, comment],
               :confirm => 'Are you sure?',
               :method => :delete %>
</p>