Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 73b1a5d

Browse files
Update
1 parent b18e493 commit 73b1a5d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

‎angular-forms-models/index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,29 @@ <h4>Đánh giá</h4>
5959
<cite>- {{review.author}}</cite>
6060
</blockquote>
6161

62+
<blockquote>
63+
<b>{{review.stars}} star(s)</b>
64+
{{review.body}}
65+
<cite>- {{review.author}}</cite>
66+
</blockquote>
67+
6268
<form class="form-horizontal">
6369
<div class="form-group">
6470
<label class="col-sm-1 control-label">Email</label>
6571
<div class="col-sm-6">
66-
<input type="email" class="form-control" placeholder="Email">
72+
<input ng-model="review.author" type="email" class="form-control" placeholder="Email">
6773
</div>
6874
</div>
6975
<div class="form-group">
7076
<label class="col-sm-1 control-label">Review</label>
7177
<div class="col-sm-6">
72-
<textarea class="form-control" rows="3"></textarea>
78+
<textarea ng-model="review.body" class="form-control" rows="3"></textarea>
7379
</div>
7480
</div>
7581
<div class="form-group">
7682
<label class="col-sm-1 control-label">Star</label>
7783
<div class="col-sm-6">
78-
<select class="form-control">
84+
<select ng-model="review.stars" class="form-control">
7985
<option value="1">1 star</option>
8086
<option value="2">2 stars</option>
8187
<option value="3">3 stars</option>
@@ -86,7 +92,7 @@ <h4>Đánh giá</h4>
8692
</div>
8793
<div class="form-group">
8894
<div class="col-sm-offset-1 col-sm-10">
89-
<button type="submit" class="btn btn-default">Submit</button>
95+
<button type="submit" class="btn btn-default">Gửi</button>
9096
</div>
9197
</div>
9298
</form>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /