about summary refs log tree commit diff
path: root/app/views/admin/domain_blocks/index.html.haml
blob: fe6ff683ffb3ca3c6756c54dabf71a00268748cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- content_for :page_title do
  Domain Blocks

%table.table
  %thead
    %tr
      %th Domain
      %th Severity
  %tbody
    - @blocks.each do |block|
      %tr
        %td
          %samp= block.domain
        %td= block.severity

= paginate @blocks
= link_to 'Add new', new_admin_domain_block_path, class: 'button'