osem-fcy/app/views/schedules/_schedule_tabs.html.haml

9 lines
456 B
Text
Raw Normal View History

%div{ role: "tabpanel" }
/ Nav tabs
%ul.nav.nav-tabs{ role: "tablist" }
2025-10-01 19:07:31 +02:00
- 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))