centered the billing forms

This commit is contained in:
Henry Oswald 2014-12-28 18:23:08 +00:00
parent 236d4d7ab3
commit 9d57288809

View file

@ -40,9 +40,11 @@ block content
) {{currency}} ({{value['symbol']}})
div . 
h2.pull-right {{price}}
hr
.row
.col-md-offset-1.col-md-10
form(ng-show="planName")
hr
.row
.col-md-12
@ -67,7 +69,8 @@ block content
.form-group
div(ng-hide="validation.correctCvv") #{translate("invalid")} CVV
div(ng-hide="validation.correctCardNumber") #{translate("invalid")} #{translate("credit_card_number")}
.col-md-5
.row
.col-md-6
.form-group(ng-class="validation.correctCardNumber ? '' : 'has-error' ")
input.form-control(ng-model='data.number', ng-blur="validateCardNumber()", placeholder="#{translate('credit_card_number')}")
.col-md-3
@ -108,22 +111,22 @@ block content
option(value="2025") 2025
option(value="2026") 2026
.row
.col-md-4
.col-md-6
.form-group
input.form-control(type='text', value='', maxlength='255', tabindex='1', onkeyup='', data-recurly="first_name", ng-model="data.first_name", required, placeholder="#{translate('first_name')}")
.col-md-4
.col-md-6
.form-group
input.form-control(type='text', value='', maxlength='255', tabindex='1', onkeyup='', data-recurly="last_name", ng-model="data.last_name", required, placeholder="#{translate('last_name')}")
hr
.row
.col-md-8
.col-md-12
.form-group
label #{translate("billing_address")}
input.form-control(type='text', value='', maxlength='255', tabindex='1', onkeyup='', ng-model="data.address1")
.form-group
input.form-control(type='text', value='', maxlength='255', tabindex='1', onkeyup='', ng-model="data.address2")
.row
.col-md-4
.col-md-8
.form-group
input.form-control(type='text', value='', maxlength='255', tabindex='1', onkeyup='', data-recurly="city", ng-model="data.city", placeholder="#{translate('city')}")
.col-md-4