mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fb8a830a32
This applies to the following helpers: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag`
15 lines
288 B
Text
15 lines
288 B
Text
<p>
|
|
<strong>Commenter:</strong>
|
|
<%= comment.commenter %>
|
|
</p>
|
|
|
|
<p>
|
|
<strong>Comment:</strong>
|
|
<%= comment.body %>
|
|
</p>
|
|
|
|
<p>
|
|
<%= link_to 'Destroy Comment', [comment.post, comment],
|
|
:method => :delete,
|
|
:data => { :confirm => 'Are you sure?' } %>
|
|
</p>
|