Last active
August 29, 2015 14:07
-
-
Save gajus/935b64d8f91cdb654602 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="place-order" class="row"> | |
<h2>Check out now</h2> | |
<p>Please enter your details, and we'll ship your goods right away!</p> | |
<form name="shippingForm" novalidate> | |
<h3>Ship to</h3> | |
<div class="form-group"> | |
<label>Name</label> | |
<input name="name" class="form-control" ng-model="data.shipping.name" required /> | |
<span class="error" ng-show="shippingForm.name.$error.required"> | |
Please enter a name | |
</span> | |
</div> | |
<h3>Address</h3> | |
<div class="form-group"> | |
<label>Street Address</label> | |
<input name="street" class="form-control" ng-model="data.shipping.street" required /> | |
<span class="error" ng-show="shippingForm.street.$error.required"> | |
Please enter street | |
</span> | |
</div> | |
<div class="text-center"> | |
<button class="btn btn-primary" ng-disabled="shippingForm.$invalid">Complete order</button> | |
</div> | |
</form> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment