Sha256: 479c2eb53842bf8a265c4393e573dd2be0b7087aa2e978eb8463fed8b751e651

Contents?: true

Size: 868 Bytes

Versions: 12

Compression:

Stored size: 868 Bytes

Contents

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

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

  .alert.alert-success.mb-4
    Successfully submitted 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/stamp_wizards/summary', stamp_wizard: resource
  = render 'effective/stamp_wizards/stamp_wizard', stamp_wizard: resource

  .mb-4
    = collapse('Show order...', card_class: 'my-2') do
      = render 'effective/stamp_wizards/orders', stamp_wizard: resource

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
effective_products-0.3.10 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.9 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.8 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.7 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.6 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.5 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.4 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.3 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.2 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.1 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.3.0 app/views/effective/stamp_wizards/submitted.html.haml
effective_products-0.2.1 app/views/effective/stamp_wizards/submitted.html.haml