Simplify schedule
This commit is contained in:
parent
c1260e2f28
commit
43000060b2
2 changed files with 4 additions and 45 deletions
|
|
@ -1,7 +1,8 @@
|
|||
%div{ role: "tabpanel" }
|
||||
/ Nav tabs
|
||||
%ul.nav.nav-tabs{ role: "tablist" }
|
||||
%li{ class: "schedule #{ 'active' if active == 'schedule' }", role: "presentation" }
|
||||
= link_to('Schedule', conference_schedule_path(@conference.short_title))
|
||||
- unless active == 'program'
|
||||
%li{ class: "schedule #{ 'active' if active == 'schedule' }", role: "presentation" }
|
||||
= link_to('Schedule', conference_schedule_path(@conference.short_title))
|
||||
%li{ class: "program #{ 'active' if active == 'program' }", role: "presentation" }
|
||||
= link_to('All events', events_conference_schedule_path(@conference.short_title))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue