Created
December 19, 2013 16:51
-
-
Save normancapule/8042443 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.row | |
.col-lg-12.col-md-12.col-sm-12.text-center | |
%p.header-text Checkout Order | |
.row#checkout | |
.col-lg-5.col-lg-offset-1.col-md-5.col-md-offset-1.col-sm-5.col-sm-offset-1.col-xs-5.col-xs-offset-1 | |
= form_for @personal_information, url: checkout_index_path, method: :post do |f| | |
= render 'shipping', f: f | |
= render 'billing' | |
= render 'confirmation' | |
.col-lg-5.col-md-5.col-sm-5.col-xs-5 | |
.box.order-summary | |
= render "order_summary" | |
.box.promo-code | |
%p.sub-title Promo Code | |
.form-container | |
= form_for @order, url: update_coupon_order_path(@order.id), method: :put, remote: true do |f| | |
.form-group | |
= f.text_field :coupon_code, placeholder: "Promo Code" | |
%label.error Invalid coupon | |
.form-group | |
%button.btn.btn-default.btn-submit Apply |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment