Sha256: 6da04cefc37c3aaecd980768a58c8c7dfa4ef493b56b177e70def64410970829

Contents?: true

Size: 525 Bytes

Versions: 13

Compression:

Stored size: 525 Bytes

Contents

= wizard_card(stamp_wizard) do
  = effective_table_with(stamp_wizard.stamp, only: [:owner, :category, :shipping_address, :name, :name_confirmation]) do |f|
    = f.content_for :owner, label: 'User' do
      - owner = f.object.owner

      = 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}

Version data entries

13 entries across 13 versions & 1 rubygems

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