Sha256: 29a0a4608cd15e120796c47995627afd652323dc3860a8766376e880ec0989b3

Contents?: true

Size: 510 Bytes

Versions: 1

Compression:

Stored size: 510 Bytes

Contents

- title @calendar.name || 'Calendar'
- breadcrumbs do
  = breadcrumb 'Calendars', calendars_path

.container
  - calendar = BootstrapMonthCalendar.new(self, timezone: @calendar.timezone, events: @calendar.appointments)

  - calendar_render = Proc.new do |date, appointments|
    %h3= date.day
    %ul.list-unstyled
      - appointments.each do |appointment|
        %li= link_to appointment.name, location_appointment_path(appointment.location, appointment)

  = calendar.render(calendar_render)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appt-0.0.1.beta.3 app/views/appt/calendars/show.html.haml