about summary refs log tree commit diff
path: root/app/views/admin/reports/index.html.haml
blob: f1c4a93c47180359f230ebef3bf03d726c97c1c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- content_for :page_title do
  = t('admin.reports.title')

.filters
  .filter-subset
    %strong= t('admin.reports.status')
    %ul
      %li= filter_link_to t('admin.reports.unresolved'), resolved: nil
      %li= filter_link_to t('admin.reports.resolved'), resolved: '1'

= form_tag do

  %table.table
    %thead
      %tr
        -# %th
        %th= t('admin.reports.id')
        %th= t('admin.reports.target')
        %th= t('admin.reports.reported_by')
        %th= t('admin.reports.comment.label')
        %th= t('admin.reports.report_contents')
        %th
    %tbody
      = render @reports

= paginate @reports