MorningPeak/app/views/comments/_about.html.slim
Arthur Poulet a769142d2f update tickets
following #13

- tickets have no more master
- tickets are commentables
2016-01-31 02:22:11 +01:00

15 lines
430 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 = 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" ×