about summary refs log tree commit diff
path: root/app/views/admin/report_notes/_report_note.html.haml
blob: d34dc3d1575aa8a6213a43c19c260efa435ceb71 (plain) (blame)
1
2
3
4
5
6
7
.speech-bubble
  .speech-bubble__bubble
    = simple_format(h(report_note.content))
  .speech-bubble__owner
    = admin_account_link_to report_note.account
    %time.formatted{ datetime: report_note.created_at.iso8601 }= l report_note.created_at
    = table_link_to 'trash', t('admin.reports.notes.delete'), admin_report_note_path(report_note), method: :delete if can?(:destroy, report_note)