Dropdown shows now context

This commit is contained in:
Chrisbr 2014-05-23 14:19:57 +02:00
parent 738098e4a9
commit cd8e8a5c7e
2 changed files with 7 additions and 7 deletions

View file

@ -1,14 +1,14 @@
%ul.nav.nav-stacked.mySidebar
.btn-group
%button{type:'button', class:'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
%span.glyphicon.glyphicon-home
Conferences
%span.glyphicon.glyphicon-cog
= @conference.short_title
%span.caret
%ul.dropdown-menu{role:'menu'}
%li
= link_to(admin_conference_index_path) do
%span.glyphicon.glyphicon-dashboard
All
%span.glyphicon.glyphicon-home
All Conferences
- @conferences.each do |conference|
%li
= link_to(admin_conference_path(conference.short_title)) do

View file

@ -2,13 +2,13 @@
.btn-group
%button{type: 'button', class: 'btn btn-default btn-link dropdown-toggle', 'data-toggle'=>'dropdown'}
%span.glyphicon.glyphicon-home
Conferences
All Conferences
%span.caret
%ul.dropdown-menu{role: 'menu'}
%li
= link_to(admin_conference_index_path) do
%span.glyphicon.glyphicon-dashboard
All
%span.glyphicon.glyphicon-home
All Conferences
- @conferences.each do |conference|
%li
= link_to(admin_conference_path(conference.short_title)) do