Sha256: ea5b9abfc2edcc9f4e0968d8ea4fa35e83d7b7d98a7aefd858b70c9d66aa9bf4

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

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

  - raise('expected a completed event_registration') unless resource.completed?
  - 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')}.

  .mb-4
    = 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

  - if resource.event.allow_blank_registrants? && EffectiveResources.authorized?(self, :update_blank_registrants, resource)
    = card do
      %h3 Incomplete Ticket Information
      = render 'effective/event_registrations/form_blank_registrants', 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

4 entries across 4 versions & 1 rubygems

Version Path
effective_events-2.29.1 app/views/effective/event_registrations/complete.html.haml
effective_events-2.29.0 app/views/effective/event_registrations/complete.html.haml
effective_events-2.28.3 app/views/effective/event_registrations/complete.html.haml
effective_events-2.28.2 app/views/effective/event_registrations/complete.html.haml