Sha256: 94d357d351320aa8e4811bf625aa97e691b92b9028c405abd3cc88bb24e0d138

Contents?: true

Size: 429 Bytes

Versions: 2

Compression:

Stored size: 429 Bytes

Contents

- f.object.shipping_address ||= (f.object.owner.try(:shipping_address) || f.object.owner.try(:billing_address))
- f.object.name ||= f.object.owner.to_s

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

- collection = local_assigns[:parent].try(:stamp_categories) || EffectiveProducts.stamp_categories
= f.select :category, collection

%h4 Shipping address
= effective_address_fields(f, :shipping)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
effective_products-0.3.9 app/views/effective/stamps/_fields.html.haml
effective_products-0.3.8 app/views/effective/stamps/_fields.html.haml