Restyle add card form

This commit is contained in:
stveep
2017-08-06 19:06:56 +01:00
committed by Rob Harrington
parent 74a7cb82bc
commit 6690f2e9e7

View File

@@ -1,4 +1,9 @@
%form{ novalidate: true, "ng-submit" => "storeCard()" }
.row
.small-12.columns
%label
= t(:card_details)
= render '/checkout/payment/stripe'
.row
.small-6.columns
%label
@@ -11,8 +16,7 @@
= t(:last_name)
%input#last_name{type: :text, "ng-model" => "secrets.last_name", "ng-disabled" => "!allow_name_change", "ng-value" => "order.bill_address.lastname"}
.row
.small-12.columns
= render '/checkout/payment/stripe'
%p
%button.button.primary{type: :submit}
= t(:add_card)
.small-4.columns
%p
%button.button.primary{type: :submit}
= t(:add_card)