Sha256: 2ba62fb82930449fe5e4aea7ecf2ec28830f9cb4e727bb878b3bf16eb0850c5f

Contents?: true

Size: 872 Bytes

Versions: 7

Compression:

Stored size: 872 Bytes

Contents

%h2 Contact Information

- owner = f.object.owner

%p
  = owner.to_s

  - if owner.try(:email).present?
    %br
    = mail_to(owner.email)

  - if owner.try(:phone).present?
    %br
    = owner.phone

  - if owner.try(:membership).try(:number).present?
    %br
    Member Number #{owner.membership.number}

%h2 Display Name
%p Please enter and confirm your name as it should appear on the Professional Stamp.

= f.text_field :name
= f.text_field :name_confirmation, hint: 'must match name'

%h2 Stamp Information

%table.table
  %thead
    %th Stamp
    %th.order_price Cost
  %tbody
    %tr
      %td Physical
      %td.order_price $50.00 + GST
    %tr
      %td Digital-only
      %td.order_price $25.00 + GST

%p Please select a stamp:

= f.select :category, Effective::Stamp::CATEGORIES

= f.show_if :category, 'Physical' do
  = effective_address_fields(f, :shipping)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
effective_products-0.1.2 app/views/effective/stamp_wizards/_stamp_fields.html.haml
effective_products-0.1.1 app/views/effective/stamp_wizards/_stamp_fields.html.haml
effective_products-0.1.0 app/views/effective/stamp_wizards/_stamp_fields.html.haml
effective_products-0.0.9 app/views/effective/stamp_wizards/_stamp_fields.html.haml
effective_products-0.0.8 app/views/effective/stamp_wizards/_stamp_fields.html.haml
effective_products-0.0.7 app/views/effective/stamp_wizards/_stamp_fields.html.haml
effective_products-0.0.6 app/views/effective/stamp_wizards/_stamp_fields.html.haml