You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
660 B

  1. - content_for :page_title do
  2. = t('admin.reports.title')
  3. .filters
  4. .filter-subset
  5. %strong= t('admin.reports.status')
  6. %ul
  7. %li= filter_link_to t('admin.reports.unresolved'), resolved: nil
  8. %li= filter_link_to t('admin.reports.resolved'), resolved: '1'
  9. = form_tag do
  10. .table-wrapper
  11. %table.table
  12. %thead
  13. %tr
  14. -# %th
  15. %th= t('admin.reports.id')
  16. %th= t('admin.reports.target')
  17. %th= t('admin.reports.reported_by')
  18. %th= t('admin.reports.comment.label')
  19. %th= t('admin.reports.report_contents')
  20. %th
  21. %tbody
  22. = render @reports
  23. = paginate @reports