Sha256: 37d54dd7033db0d10709ed6b6a51d9b04baf82d6df4c0353838023838dc2df45

Contents?: true

Size: 854 Bytes

Versions: 3

Compression:

Stored size: 854 Bytes

Contents

= render 'layout' do
  = render 'effective/event_registrations/content', resource: resource

  - raise('expected a submitted event_registration') unless resource.was_submitted?
  - raise('expected a purchased event_registration submit_order') unless resource.submit_order&.purchased?

  .alert.alert-warning.mb-4
    Successfully paid on #{resource.submit_order.purchased_at.strftime('%F')}.

  = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'

  = render 'effective/event_registrations/summary', event_registration: resource
  = render 'effective/event_registrations/event_registration', event_registration: resource
  = render 'effective/event_registrations/orders', event_registration: resource

  = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_events-0.5.6 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.5.5 app/views/effective/event_registrations/submitted.html.haml
effective_events-0.5.4 app/views/effective/event_registrations/submitted.html.haml