Sha256: 7546ded2b070bdc46b3a92a76cca97280e9073bbded7b514c0f6f23e3e1da879
Contents?: true
Size: 427 Bytes
Versions: 2
Compression:
Stored size: 427 Bytes
Contents
- events = 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 events.present? %ul.events - events.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.2 | app/views/shared/event_cal/_date.html.haml |
event_cal-2.0.1 | app/views/shared/event_cal/_date.html.haml |