Last active
December 10, 2015 05:01
-
-
Save codeaholicguy/158c9ef8a2148af06431 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
<form class="form-horizontal" name="reviewForm" ng-controller="ReviewController as reviewCtrl"> | |
<blockquote> | |
<b>{{reviewCtrl.review.stars}} star(s)</b> | |
{{reviewCtrl.review.body}} | |
<cite>- {{reviewCtrl.review.author}}</cite> | |
</blockquote> | |
<div class="form-group"> | |
<label class="col-sm-1 control-label">Email</label> | |
<div class="col-sm-6"> | |
<input ng-model="reviewCtrl.review.author" type="email" class="form-control" placeholder="Email"> | |
</div> | |
</div> | |
<div class="form-group"> | |
<label class="col-sm-1 control-label">Review</label> | |
<div class="col-sm-6"> | |
<textarea ng-model="reviewCtrl.review.body" class="form-control" rows="3"></textarea> | |
</div> | |
</div> | |
<div class="form-group"> | |
<label class="col-sm-1 control-label">Star</label> | |
<div class="col-sm-6"> | |
<select ng-model="reviewCtrl.review.stars" class="form-control"> | |
<option value="1">1 star</option> | |
<option value="2">2 stars</option> | |
<option value="3">3 stars</option> | |
<option value="4">4 stars</option> | |
<option value="5">5 stars</option> | |
</select> | |
</div> | |
</div> | |
<div class="form-group"> | |
<div class="col-sm-offset-1 col-sm-10"> | |
<button type="submit" class="btn btn-default">Gửi</button> | |
</div> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment