a769142d2f
following #13 - tickets have no more master - tickets are commentables
15 lines
430 B
Plaintext
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" ×
|