app/views/simple_cart/checkout/delivery.html.haml in simple_cart-0.0.2 vs app/views/simple_cart/checkout/delivery.html.haml in simple_cart-0.0.3
- old
+ new
@@ -31,13 +31,13 @@
%ul
- @order.errors.full_messages.each do |msg|
%li= msg
.form-group
- - Delivery.all.each do |company|
+ - SimpleCart::Delivery.all.each do |company|
.radio
%label
- = f.radio_button :delivery_id, company.id, :checked => company == Delivery.first || @order.delivery == company
+ = f.radio_button :delivery_id, company.id, :checked => company == SimpleCart::Delivery.first || @order.delivery == company
= "#{company.company}, #{number_to_currency(company.costs)}"
.actions
.col-md-6
= link_to 'Back', previous_wizard_path, class: 'btn btn-default btn-block'