ul.day_list - @events.keys.sort.each do |day| - evs = @events[day] li class=li_day_class(day) .dayname | #{t(:"date.day.day_names")[day.wday-1]} #{l day, :format => :short} small a#show_new_event_link href="/event/new/#{day.strftime('%Y%m%d')}" #{t 'create_event'} input#day_hidden_input type="hidden" name="day" value="#{day.strftime('%Y%m%d')}" .new_event_mask style="display: none;" .hidden_new_event_mask == slim :new_event, :layout => false, :locals => {'start_date' => day.strftime("%Y%m%d")} ul.event_list - evs.sort_by{|e|e.start_time}.each do |ev| li#event_day #event #time | #{ev.time_f day} - if ev.location && !ev.location.empty? | [#{ev.location}] #summary | #{ev.summary} - if ev.modifiable? a#edit_event_link href="/event/edit/#{ev.uid}" = t 'edit' #hidden_description | (#{ev.from_to_f}) br | #{ev.description} /hr(width="20%") #nav