Sha256: d130de20095a8f6f5c265891f20034619597fc5b6266ff137053c7427699e72a

Contents?: true

Size: 1.08 KB

Versions: 12

Compression:

Stored size: 1.08 KB

Contents

-# In progress
- existing = EffectiveProducts.StampWizard.in_progress.for(current_user).first
- completed = EffectiveResources.best('EffectiveStampWizardsDatatable').new(self, namespace: :effective)

%h2= ets(EffectiveProducts.StampWizard)

- if existing.present?
  %p Your request is in progress.

  %p
    Please
    = link_to("Continue #{existing}", effective_products.stamp_wizard_build_path(existing, existing.next_step), 'data-turbolinks' => false, class: 'btn btn-primary')
    or you can
    = link_to('Abandon', effective_products.stamp_wizard_path(existing), 'data-confirm': "Really delete #{existing}?", 'data-method': :delete, class: 'btn btn-danger')
    to start over.

  %hr

= yield

- if completed.present?
  %p You have completed these past #{ets(EffectiveProducts.StampWizard).downcase}:
  = render_simple_datatable(completed)
- else
  %p You have no past #{ets(EffectiveProducts.StampWizard).downcase}. When you do, we'll show them here.

- if existing.blank?
  %p= link_to "Start #{et(EffectiveProducts.StampWizard)}", effective_products.new_stamp_wizard_path, class: 'btn btn-primary'

Version data entries

12 entries across 12 versions & 1 rubygems

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