2013-12-29 00:23:08 +01:00
|
|
|
%form.region_selector
|
|
|
|
= select_tag :region,
|
|
|
|
options_from_collection_for_select(Region.all, 'id', 'name', params[:region]),
|
|
|
|
prompt: t('region_selector')
|
|
|
|
|
2013-12-28 23:45:13 +01:00
|
|
|
= calendar @events, { prev_text: '<<', next_text: '>>', start_day: :monday,
|
|
|
|
params: { region: params[:region] } } do |event|
|
|
|
|
%ul.events
|
|
|
|
%li.event
|
|
|
|
= link_to event.url do
|
|
|
|
%strong= event.city
|
|
|
|
= event.title
|
|
|
|
|
|
|
|
.formats
|
|
|
|
=t '.calendar_in'
|
|
|
|
rss, iCal ou calendrier Google
|