Sha256: 3bf81a9667cf92a76a6494e98c3866b519cb73b4664493542098db296c697f6a

Contents?: true

Size: 1.25 KB

Versions: 10

Compression:

Stored size: 1.25 KB

Contents

-# In progress registration
- registration = EffectiveEvents.EventRegistration.in_progress.for(current_user).first
- datatable = EffectiveResources.best('EffectiveEventRegistrationsDatatable').new(self, namespace: :effective)

- if registration.present?
  %h2 In Progress Event Registrations

  %p
    Your registration for
    = link_to(registration.event, effective_events.event_path(registration.event))
    is incomplete

  %p
    Please
    = link_to("Continue registration for #{registration.event}", effective_events.event_event_registration_build_path(registration.event, registration, registration.next_step), 'data-turbolinks' => false, class: 'btn btn-primary')
    or you can
    = link_to('Abandon registration', effective_events.event_event_registration_path(registration.event, registration), 'data-confirm': "Really delete #{registration}?", 'data-method': :delete, class: 'btn btn-danger')
    to register for another event.

    %hr

%h2 Event Registrations

- if datatable.present?
  = render_simple_datatable(datatable)
- else
  %p You have no past event registrations. When you do, we'll show them here.

-# TODO enable an all events page
- if false # if registration.blank?
  %p= link_to 'View all Events', effective_events.events_path, class: 'btn btn-primary'

Version data entries

10 entries across 10 versions & 1 rubygems

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