blob: 1da5b7e3ae06fb522421dfb0f88a380340ef91ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
= title_tag t('lines.index.title')
= render partial: 'shared/lines_search_form', locals: { referential: @referential }
#lines
= render 'lines'
- content_for :sidebar do
ul.actions
- if policy(Chouette::Line).create?
li
= link_to t('lines.actions.new'), new_referential_line_path(@referential), class: 'add'
- if policy(Chouette::Line).destroy?
#multiple_selection_menu
h4 = t(".multi_selection")
.disabled
a.enable href="#"
= t(".multi_selection_enable")
.enabled style="display: none;"
a.disable href="#"
= t(".multi_selection_disable")
ul.actions
= link_to t(".delete_selected"), referential_lines_path(@referential), "data-multiple-method" => "delete", :class => "remove", "confirmation-text" => t("lines.actions.destroy_selection_confirm")
a.select_all href="#"
= t(".select_all")
= " | "
a.deselect_all href="#"
= t(".deselect_all")
|