Sha256: 9e8a31ee921c51b5796e3d78a37aca17b032d80e483a3f4411d6644901f56f18
Contents?: true
Size: 451 Bytes
Versions: 2
Compression:
Stored size: 451 Bytes
Contents
- event_for_date = calendar.events_on(date) %li.date{ :class => hightlight_classes(date, calendar).join(' '), :data => { :date => date }} .header %span{ :class => wday_class_for(date) }= date.strftime('%-d') - if event_for_date.present? %ul.events - event_for_date.each do |event| %li{ :class => "event #{event.class.to_s.underscore}" } = render "shared/event_cal/#{event.class.to_s.underscore}", :event => event
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
event_cal-2.0.0 | app/views/shared/event_cal/_date.html.haml |
event_cal-1.3.0 | app/views/shared/event_cal/_date.html.haml |