Sha256: d77edd0d0fcad61818819e3015065982cbca5c80cb3f5e53838460d691f2028a

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

= form_tag add_shipping_path, method: :post do
  - @shippings.each do |delivery|
    .form-group
      = radio_button_tag :id, delivery.id, delivery.id == @current_order.shipping.try(:id)
      = label_tag("id_#{delivery.id}", "#{delivery.title} - #{delivery.price} #{t('shopping_cart.currency')}")
  = submit_tag nil, class: 'btn btn-primary'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopping_cart-0.1.0 app/views/shopping_cart/checkout/shipping.html.haml