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

36 lines
2.1 KiB
Handlebars
Raw Normal View History

2018-02-14 06:22:33 +10:00
<div class="input-field col s12">
<input type="email" class="customerDetails" id="shipEmail" name="shipEmail" minlength="5" placeholder="Email address" value="{{session.customer.email}}" required>
</div>
<div class="input-field col s12 m6">
<input type="text" class="customerDetails" id="shipFirstname" name="shipFirstname" placeholder="First name" value="{{session.customer.firstName}}" required>
</div>
<div class="input-field col s12 m6">
<input type="text" class="customerDetails" id="shipLastname" name="shipLastname" placeholder="Last name" value="{{session.customer.lastName}}" required>
</div>
<div class="input-field col s12">
<input type="text" class="customerDetails" id="shipAddr1" name="shipAddr1" placeholder="Address 1" value="{{session.customer.address1}}" required>
</div>
<div class="input-field col s12">
<input type="text" class="customerDetails" id="shipAddr2" name="shipAddr2" placeholder="Address 2 (optional)" value="{{session.customer.address2}}">
2018-02-14 06:22:33 +10:00
</div>
<div class="input-field col s12">
<select id="shipCountry" name="shipCountry" required>
<option value="" disabled selected>Select Country</option>
{{#each countryList}}
<option {{selectState this @root.session.customer.country}} value="{{this}}">{{this}}</option>
{{/each}}
</select>
<label>Country</label>
2018-02-14 06:22:33 +10:00
</div>
<div class="input-field col s12 m6">
2018-02-14 06:22:33 +10:00
<input type="text" class="customerDetails" id="shipState" name="shipState" placeholder="State" value="{{session.customer.state}}" required>
</div>
<div class="input-field col s12 m6">
2018-02-14 06:22:33 +10:00
<input type="text" class="customerDetails" id="shipPostcode" name="shipPostcode" placeholder="Post code" value="{{session.customer.postcode}}" required>
</div>
<div class="input-field col s12">
<input type="number" class="customerDetails" id="shipPhoneNumber" name="shipPhoneNumber" placeholder="Phone number" value="{{session.customer.phone}}" required>
</div>
<div class="input-field col s12">
<textarea class="customerDetails" placeholder="Order comment" id="orderComment" name="orderComment"></textarea>
2018-02-14 06:22:33 +10:00
</div>