Sha256: d3de78278a81218514df1e22e5af4432422d001196e047f4a29e87253c2c2e7b
Contents?: true
Size: 444 Bytes
Versions: 7
Compression:
Stored size: 444 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 "event_cal/#{event.class.to_s.underscore}", :event => event
Version data entries
7 entries across 7 versions & 1 rubygems