Sha256: fb318c6d33468a7ddd73a6d653596ffc42b916dfe9d800165f6a5efd35fcc607

Contents?: true

Size: 1.03 KB

Versions: 7

Compression:

Stored size: 1.03 KB

Contents

.card
  .card-body
    .row
      .col-sm
        %h5.card-title= stamp_wizard.wizard_step_title(:stamp)
      .col-sm-auto.text-right
        = link_to('Edit', wizard_path(:stamp)) if edit_effective_wizard?

    - stamp = stamp_wizard.stamp
    - owner = stamp_wizard.owner

    %table.table.table-sm
      %tbody
        %tr
          %th Owner
          %td
            = 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}

        %tr
          %th Category
          %td= stamp.category

        - if stamp.shipping_address.present?
          %tr
            %th Address
            %td= stamp.shipping_address.to_html

        %tr
          %th Name
          %td= stamp.name

        %tr
          %th Name Confirmation
          %td= stamp.name_confirmation

Version data entries

7 entries across 7 versions & 1 rubygems

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