2020-12-09 04:19:10 +00:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('admin.link_blocks.title')
|
|
|
|
|
2021-01-19 06:25:25 +00:00
|
|
|
= form_tag admin_link_blocks_url, method: 'GET', class: 'simple_form' do
|
|
|
|
.fields-group
|
|
|
|
.input.string.optional
|
|
|
|
= text_field_tag :link, params[:link], class: 'string optional', placeholder: "Link"
|
|
|
|
|
|
|
|
.actions
|
|
|
|
%button= t('admin.accounts.search')
|
|
|
|
= link_to t('admin.accounts.reset'), admin_link_blocks_path, class: 'button negative'
|
|
|
|
|
2020-12-09 04:19:10 +00:00
|
|
|
.table-wrapper
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th= t('admin.link_blocks.link')
|
|
|
|
%th
|
|
|
|
%tbody
|
|
|
|
= render @link_blocks
|
|
|
|
|
|
|
|
= paginate @link_blocks
|
|
|
|
= link_to t('admin.link_blocks.add_new'), new_admin_link_block_path, class: 'button'
|