Sha256: 7fb31ee68513d317850e75b03fee52ebbadff90e301ff7d890cd26479604d4ff
Contents?: true
Size: 472 Bytes
Versions: 9
Compression:
Stored size: 472 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 = EffectiveProducts.stamp_categories - if collection.length == 1 = f.hidden_field :category, value: collection.first - else = f.select :category, collection %h4 Shipping address = effective_address_fields(f, :shipping)
Version data entries
9 entries across 9 versions & 1 rubygems