agenda-libre-ruby/app/views/events/index.html.haml

17 lines
459 B
Plaintext
Raw Normal View History

%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