Sha256: 4b6893339fcd098c8d93a3bee110626554906c286cd0884dc670134c46b7130c

Contents?: true

Size: 523 Bytes

Versions: 6

Compression:

Stored size: 523 Bytes

Contents

%section.list
  -if @events.empty?
    .events no events planned
  - else
    .events
      - @events.each do |event|
        %div(id="event_#{event.id}" class='event')
          .event_name 
            = event.name
          .event_subtitle 
            = event.subtitle
          .event_registration
            %a{ :href=> url("/registrations/new/#{event.id}") } register
          .event_date_location
            = human_period event.from, event.to 
            %br
            = event.location_name
          .clear

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
qcourses-0.1.7 views/events/index.haml
qcourses-0.1.6 views/events/index.haml
qcourses-0.1.5 views/events/index.haml
qcourses-0.1.4 views/events/index.haml
qcourses-0.1.3 views/events/index.haml
qcourses-0.1.2 views/events/index.haml