Sha256: a583efa79ddd2b3c752cf44da87ce4a6712b8dd6ee1c98594e2160e718aee198

Contents?: true

Size: 479 Bytes

Versions: 11

Compression:

Stored size: 479 Bytes

Contents

= render 'layout' do
  .effective-event
    - if @event.sold_out?
      .alert.alert-warning This event is sold out.

    - if @event.closed?
      .alert.alert-warning This event is no longer available.

    - if @event.registerable?
      .resource-buttons
        = link_to 'Register', effective_events.new_event_event_registration_path(@event), class: 'btn btn-primary'

    = render 'effective/events/event', event: @event

    .event-body.event-content
      = @event.body

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_events-0.2.0 app/views/effective/events/show.html.haml
effective_events-0.1.10 app/views/effective/events/show.html.haml
effective_events-0.1.9 app/views/effective/events/show.html.haml
effective_events-0.1.8 app/views/effective/events/show.html.haml
effective_events-0.1.7 app/views/effective/events/show.html.haml
effective_events-0.1.6 app/views/effective/events/show.html.haml
effective_events-0.1.5 app/views/effective/events/show.html.haml
effective_events-0.1.4 app/views/effective/events/show.html.haml
effective_events-0.1.3 app/views/effective/events/show.html.haml
effective_events-0.1.2 app/views/effective/events/show.html.haml
effective_events-0.1.1 app/views/effective/events/show.html.haml