2014-05-22 18:19:07 +02:00
|
|
|
%ul.nav.nav-pills.nav-stacked.mySidebar
|
|
|
|
|
.btn-group
|
|
|
|
|
%button{type: 'button', class: 'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
|
|
|
|
|
%span.glyphicon.glyphicon-home
|
2014-05-23 14:19:57 +02:00
|
|
|
All Conferences
|
2014-05-22 18:19:07 +02:00
|
|
|
%span.caret
|
|
|
|
|
%ul.dropdown-menu{role: 'menu'}
|
|
|
|
|
%li
|
|
|
|
|
= link_to(admin_conference_index_path) do
|
2014-05-23 14:19:57 +02:00
|
|
|
%span.glyphicon.glyphicon-home
|
|
|
|
|
All Conferences
|
2014-05-22 18:19:07 +02:00
|
|
|
- @conferences.each do |conference|
|
|
|
|
|
%li
|
|
|
|
|
= link_to(admin_conference_path(conference.short_title)) do
|
|
|
|
|
%span.glyphicon.glyphicon-cog
|
|
|
|
|
Manage
|
|
|
|
|
= conference.short_title
|
2014-05-28 13:31:42 +02:00
|
|
|
%li
|
|
|
|
|
= link_to(new_admin_conference_path) do
|
|
|
|
|
%span.glyphicon.glyphicon-plus
|
|
|
|
|
New Conference
|
2014-05-22 18:19:07 +02:00
|
|
|
%hr
|
|
|
|
|
%li
|
|
|
|
|
= link_to(admin_users_path) do
|
|
|
|
|
%span.glyphicon.glyphicon-user
|
|
|
|
|
Users
|