Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 452c16d

Browse files
kapunahelewongwardbell
authored andcommitted
docs(reactive-forms): add reactive forms guide (#2835)
1 parent adec6ac commit 452c16d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+5235
-5
lines changed

public/docs/_examples/forms/ts/app/hero-form.component.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h1>Hero Form</h1>
4343
</div>
4444

4545
<!-- #docregion submit-button -->
46-
<button type="submit" class="btn btn-default" [disabled]="!heroForm.form.valid">Submit</button>
46+
<button type="submit" class="btn btn-success" [disabled]="!heroForm.form.valid">Submit</button>
4747
<!-- #enddocregion submit-button -->
4848
<!-- #docregion new-hero-button-form-reset -->
4949
<button type="button" class="btn btn-default" (click)="newHero(); heroForm.reset()">New Hero</button>
@@ -83,7 +83,7 @@ <h2>You submitted the following:</h2>
8383
<div class="col-xs-9 pull-left">{{ model.power }}</div>
8484
</div>
8585
<br>
86-
<button class="btn btn-default" (click)="submitted=false">Edit</button>
86+
<button class="btn btn-primary" (click)="submitted=false">Edit</button>
8787
</div>
8888
<!-- #enddocregion submitted -->
8989
</div>
@@ -137,7 +137,7 @@ <h1>Hero Form</h1>
137137

138138
<!-- #enddocregion powers -->
139139
<!-- #docregion start -->
140-
<button type="submit" class="btn btn-default">Submit</button>
140+
<button type="submit" class="btn btn-success">Submit</button>
141141

142142
</form>
143143
</div>
@@ -175,7 +175,7 @@ <h1>Hero Form</h1>
175175
</div>
176176

177177
<!-- #enddocregion ngModel-2-->
178-
<button type="submit" class="btn btn-default">Submit</button>
178+
<button type="submit" class="btn btn-success">Submit</button>
179179

180180
</form>
181181
</div>

0 commit comments

Comments
 (0)