Show the individual User schedule

Show the current user favourites events for both schedule and all events.

Unsed css removed.
This commit is contained in:
Ana 2016-08-13 02:26:02 +02:00 committed by Ana María Martínez Gómez
parent 9154f1883d
commit f54df5922e
8 changed files with 32 additions and 31 deletions

View file

@ -5,6 +5,13 @@
%h1.text-center
Program for
= @conference.title
- if current_user
.row
.col-md-12.text-center
= button_to (@favourites ? 'All events' : 'Only favourites events'),
events_conference_schedule_path(@conference.short_title),
params: { favourites: !@favourites },
method: :get, class: 'btn btn-success'
.dropdown.program-dropdown
%button{ type: "button", class: "btn btn-default dropdown-toggle", 'data-toggle' => "dropdown" }
Dates