MorningPeak/app/views/comments/_about.html.slim
2016-02-01 02:27:43 +01:00

15 lines
445 B
Plaintext

table.table.table-condensed
tr
th Creator
th Title
th Content
th
- commentable.comments.each do |c|
tr
td = c.creator_type
td = c.title
td = descriptionize c.comment
td
= link_to "/comments/#{c.id}.json", remote: true, data: {:confirm => 'Are you sure?'}, method: :delete, class: "close remove-comment", type: "button", "aria-label" => "Close" do
span aria-hidden="true" ×