Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b0c3f28

Browse files
committed
docs(forms): fix devguide forms example code
1 parent 9810dc0 commit b0c3f28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/guide/dev_guide.forms.ngdoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ The following example demonstrates:
160160

161161
<span class="error" ng:show="addressForm.$invalid">
162162
Incomplete address:
163-
<div class="error" ng:show="addressForm.state.$error.REQUIRED">
163+
<span class="error" ng:show="addressForm.state.$error.REQUIRED">
164164
Missing state!</span>
165-
<div class="error" ng:show="addressForm.state.$error.PATTERN">
165+
<span class="error" ng:show="addressForm.state.$error.PATTERN">
166166
Invalid state!</span>
167-
<div class="error" ng:show="addressForm.zip.$error.REQUIRED">
167+
<span class="error" ng:show="addressForm.zip.$error.REQUIRED">
168168
Missing zip!</span>
169-
<div class="error" ng:show="addressForm.zip.$error.PATTERN">
169+
<span class="error" ng:show="addressForm.zip.$error.PATTERN">
170170
Invalid zip!</span>
171171
</span>
172172
</ng:form>

0 commit comments

Comments
 (0)