diff options
author | Lynx Kotoura <lynx@lv9.org> | 2017-09-09 09:26:58 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-09 02:26:58 +0200 |
commit | 3c45d3963a21812f00318353be90010df636bd0d (patch) | |
tree | 6515296d8f4c9713d0b57d6aefa5127cc10d510c /app/views/admin/domain_blocks | |
parent | baa8b82179203a8c035dab23fbea48a0e6cfc886 (diff) |
Scrollable tables in settings pages (#4857)
* Scrollable tables in settings pages * Add space before curly brace
Diffstat (limited to 'app/views/admin/domain_blocks')
-rw-r--r-- | app/views/admin/domain_blocks/index.html.haml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/app/views/admin/domain_blocks/index.html.haml b/app/views/admin/domain_blocks/index.html.haml index 5ae9fec53..42b8ca53f 100644 --- a/app/views/admin/domain_blocks/index.html.haml +++ b/app/views/admin/domain_blocks/index.html.haml @@ -1,15 +1,16 @@ - content_for :page_title do = t('admin.domain_blocks.title') -%table.table - %thead - %tr - %th= t('admin.domain_blocks.domain') - %th= t('admin.domain_blocks.severity') - %th= t('admin.domain_blocks.reject_media') - %th - %tbody - = render @domain_blocks +.table-wrapper + %table.table + %thead + %tr + %th= t('admin.domain_blocks.domain') + %th= t('admin.domain_blocks.severity') + %th= t('admin.domain_blocks.reject_media') + %th + %tbody + = render @domain_blocks = paginate @domain_blocks = link_to t('admin.domain_blocks.add_new'), new_admin_domain_block_path, class: 'button' |