All events moved to a different controller method
All events moved to a different controller method and css changed to put together things with the same css attributes.
This commit is contained in:
parent
24364d0136
commit
6d9eabcc0e
9 changed files with 149 additions and 124 deletions
7
app/views/conference/_schedule_tabs.html.haml
Normal file
7
app/views/conference/_schedule_tabs.html.haml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
%div{ role: "tabpanel" }
|
||||
/ Nav tabs
|
||||
%ul.nav.nav-tabs{ role: "tablist" }
|
||||
%li{ class: "schedule #{ 'active' if active == 'schedule' }", role: "presentation" }
|
||||
= link_to('Schedule', schedule_conference_path(@conference.short_title))
|
||||
%li{ class: "program #{ 'active' if active == 'program' }", role: "presentation" }
|
||||
= link_to('All events', events_conference_path(@conference.short_title))
|
||||
Loading…
Add table
Add a link
Reference in a new issue