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

docs(reactive-forms): Add new reactive forms guide #2835

Merged
merged 1 commit into from
Feb 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions public/docs/_examples/forms/ts/app/hero-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h1>Hero Form</h1>
</div>

<!-- #docregion submit-button -->
<button type="submit" class="btn btn-default" [disabled]="!heroForm.form.valid">Submit</button>
<button type="submit" class="btn btn-success" [disabled]="!heroForm.form.valid">Submit</button>
<!-- #enddocregion submit-button -->
<!-- #docregion new-hero-button-form-reset -->
<button type="button" class="btn btn-default" (click)="newHero(); heroForm.reset()">New Hero</button>
Expand Down Expand Up @@ -83,7 +83,7 @@ <h2>You submitted the following:</h2>
<div class="col-xs-9 pull-left">{{ model.power }}</div>
</div>
<br>
<button class="btn btn-default" (click)="submitted=false">Edit</button>
<button class="btn btn-primary" (click)="submitted=false">Edit</button>
</div>
<!-- #enddocregion submitted -->
</div>
Expand Down Expand Up @@ -137,7 +137,7 @@ <h1>Hero Form</h1>

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

</form>
</div>
Expand Down Expand Up @@ -175,7 +175,7 @@ <h1>Hero Form</h1>
</div>

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

</form>
</div>
Expand Down
Loading