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

Commit f83f094

Browse files
committed
docs(cb-a11y): Building examples - Form controls
1 parent f9b7050 commit f83f094

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<!-- #docregion cb-a11y-form-controls-input-explicit -->
2-
<label [attr.for]="uniqueId">
3-
<ng-content></ng-content>
4-
</label>
5-
<input [id]="uniqueId"
6-
class="form-control">
7-
<!--#enddocregion-->
1+
<div class="form-group">
2+
<!-- #docregion cb-a11y-form-controls-input-explicit -->
3+
<label [attr.for]="uniqueId">
4+
<ng-content></ng-content>
5+
</label>
6+
<input [id]="uniqueId"
7+
class="form-control">
8+
<!--#enddocregion-->
9+
</div>
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
<!-- #docregion cb-a11y-form-controls-input -->
2-
<label>
3-
<ng-content></ng-content>
4-
<input [id]="uniqueId" class="form-control">
5-
</label>
6-
<!--#enddocregion-->
1+
<div class="form-group">
2+
<!-- #docregion cb-a11y-form-controls-input -->
3+
<label>
4+
<ng-content></ng-content>
5+
<input class="form-control">
6+
</label>
7+
<!--#enddocregion-->
8+
</div>

0 commit comments

Comments
 (0)