sms-pager/app/views/layouts/_navigation.html.haml
2015-10-19 22:05:48 -05:00

9 lines
516 B
Plaintext

%ul.nav
%li{ class: active_controller('docs') }= link_to 'Home', root_path
%li{ class: active_controller('parents') }= link_to 'Parents', list_parents_path
%li{ class: active_controller('children') }= link_to 'Children', list_children_path
%li{ class: active_controller('pages') }= link_to 'Pages', list_pages_path
- if can_edit_user? current_user
%li{ class: active_controller('staff') }= link_to 'Staff', list_staff_path
%li{ class: active_controller('users') }= link_to 'Users', list_users_path