24 lines
672 B
Plaintext
24 lines
672 B
Plaintext
- content_for :page_title do
|
|
= t('admin.link_blocks.title')
|
|
|
|
= 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'
|
|
|
|
.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'
|