expressCart/views/themes/Cloth/shipping-form.hbs

55 lines
2.7 KiB
Handlebars
Raw Normal View History

2018-01-24 04:52:45 +10:00
<div class="col-xs-12 col-md-12">
<div class="form-group">
<input type="email" class="form-control customerDetails" id="shipEmail" name="shipEmail" minlength="5" placeholder="Email address" value="{{@root.session.customerEmail}}" required>
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12 col-md-6">
<div class="form-group">
<input type="text" class="form-control customerDetails" id="shipFirstname" name="shipFirstname" placeholder="First name" value="{{@root.session.customerFirstname}}" required>
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12 col-md-6">
<div class="form-group">
<input type="text" class="form-control customerDetails" id="shipLastname" name="shipLastname" placeholder="Last name" value="{{@root.session.customerLastname}}" required>
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12 col-md-12">
<div class="form-group">
<input type="text" class="form-control customerDetails" id="shipAddr1" name="shipAddr1" placeholder="Address 1" value="{{@root.session.customerAddress1}}" required>
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12 col-md-12">
<div class="form-group">
<input type="text" class="form-control customerDetails" id="shipAddr2" name="shipAddr2" placeholder="Address 2 (optional)" value="{{@root.session.customerAddress2}}">
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12">
2018-01-24 04:52:45 +10:00
<div class="form-group">
<select class="form-control" id="shipCountry" name="shipCountry" required>
<option value="" disabled selected>Select Country</option>
{{#each countryList}}
<option {{selectState this @root.session.customerCountry}} value="{{this}}">{{this}}</option>
{{/each}}
</select>
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12 col-md-6">
2018-01-24 04:52:45 +10:00
<div class="form-group">
<input type="text" class="form-control customerDetails" id="shipState" name="shipState" placeholder="State" value="{{@root.session.customerState}}" required>
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12 col-md-6">
2018-01-24 04:52:45 +10:00
<div class="form-group">
<input type="text" class="form-control customerDetails" id="shipPostcode" name="shipPostcode" placeholder="Post code" value="{{@root.session.customerPostcode}}" required>
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12 col-md-12">
<div class="form-group">
<input type="number" class="form-control customerDetails" id="shipPhoneNumber" name="shipPhoneNumber" placeholder="Phone number" value="{{@root.session.customerPhone}}" required>
2018-01-24 04:52:45 +10:00
</div>
</div>
<div class="col-xs-12 col-md-12">
<div class="form-group">
<textarea class="form-control customerDetails" placeholder="Order comment" id="orderComment" name="orderComment">{{@root.session.orderComment}}</textarea>
</div>
2018-01-24 04:52:45 +10:00
</div>