2018-07-12 16:15:03 +00:00
|
|
|
- sorted_by = sort_options_hash[@sort]
|
|
|
|
|
|
|
|
.dropdown.inline.prepend-left-10
|
2018-12-03 15:23:05 +00:00
|
|
|
%button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown', display: 'static' } }
|
2018-07-12 16:15:03 +00:00
|
|
|
= sorted_by
|
|
|
|
= icon('chevron-down')
|
|
|
|
%ul.dropdown-menu.dropdown-menu-right.dropdown-menu-selectable.dropdown-menu-sort
|
|
|
|
%li
|
2018-12-14 04:13:51 +00:00
|
|
|
= sortable_item(sort_title_created_date, page_filter_path(sort: sort_value_created_date), sorted_by)
|
|
|
|
= sortable_item(sort_title_contacted_date, page_filter_path(sort: sort_value_contacted_date), sorted_by)
|
2018-07-12 16:15:03 +00:00
|
|
|
|