Sha256: 5b1818d36ac13b3923e96fbe7d1b418bffdad8e412d5f30ad2cd6e6bfff155c7

Contents?: true

Size: 382 Bytes

Versions: 13

Compression:

Stored size: 382 Bytes

Contents

= effective_table_with(stamp) 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/admin/stamps/_stamp.html.haml
effective_products-0.3.9 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.8 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.7 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.6 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.5 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.4 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.3 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.2 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.1 app/views/admin/stamps/_stamp.html.haml
effective_products-0.3.0 app/views/admin/stamps/_stamp.html.haml
effective_products-0.2.1 app/views/admin/stamps/_stamp.html.haml
effective_products-0.2.0 app/views/admin/stamps/_stamp.html.haml