Move phone down

This commit is contained in:
Bing Xie
2016-08-24 12:31:08 +10:00
parent 3e590f92ff
commit 8afbdcaf79
2 changed files with 9 additions and 7 deletions

View File

@@ -20,12 +20,6 @@
= t('spree.street_address_1')
%td
%input{ type: 'text', name: 'address2', ng: { model: 'address.address2'} }
%tr
%td
= t('spree.phone')
%span.required *
%td
%input{ type: 'text', name: 'phone', required: true, ng: { model: 'address.phone'} }
%tr
%td
= t('spree.city')
@@ -54,8 +48,14 @@
%select{name: 'state', required: true, ng: {model: 'address.state_id', options: 'state.id as state.name for state in states'}}
%option{value: ''}
= t('admin.customers.index.select_state')
%tr
%td
= t('spree.phone')
%span.required *
%td
%input{ type: 'text', name: 'phone', required: true, ng: { model: 'address.phone'} }
.text-center
%input.button.red.icon-plus{ type: 'submit', value: 'Update Address'}
%input.button.red.icon-plus{ type: 'submit', value: t('admin.customers.index.update_address')}

View File

@@ -128,6 +128,7 @@ en:
select_country: 'Select Country'
select_state: 'Select State'
edit: 'Edit'
update_address: 'Update Address'
products:
bulk_edit:
@@ -1072,6 +1073,7 @@ Please follow the instructions there to make your enterprise visible on the Open
validation_msg_is_associated_with_an_exising_customer: "is associated with an existing customer"
spree:
zipcode: Postcode
shipment_states:
backorder: backorder
partial: partial