2016-02-17 12:26:21 +01:00
|
|
|
- title t '.title'
|
|
|
|
|
|
|
|
- content_for :actionbar do
|
|
|
|
= link_to t('.new_messagegroup'), new_admin_messagegroup_path, class: 'btn btn-primary'
|
|
|
|
|
|
|
|
- content_for :sidebar do
|
|
|
|
%p= t('.first_paragraph', url: link_to(t('.new_messagegroups'), new_admin_messagegroup_path)).html_safe
|
2016-03-04 14:26:56 +01:00
|
|
|
%p= t '.second_paragraph'
|
2016-02-17 12:26:21 +01:00
|
|
|
.well.well-small
|
|
|
|
= form_tag admin_messagegroups_path, :method => :get, :remote => true,
|
|
|
|
'data-submit-onchange' => true, class: 'form-search' do
|
|
|
|
= text_field_tag :query, params[:query], class: 'input-medium search-query',
|
|
|
|
placeholder: t('admin.search_placeholder')
|
|
|
|
#messagegroups
|
|
|
|
= render "messagegroups"
|