about summary refs log tree commit diff
path: root/app/views/admin/domain_blocks/index.html.haml
blob: eb7894b86cc9c731f7eb4f1d26b70bbc69a7d39a (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

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