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:
Ana 2016-06-30 16:53:15 +02:00
parent 24364d0136
commit 6d9eabcc0e
9 changed files with 149 additions and 124 deletions

View 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))