Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09d3c0d

Browse files
committed
use a more descriptive examplar name for example fields
1 parent acb775c commit 09d3c0d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ <h1>auto-check-element</h1>
1414
<h2>Simple form</h2>
1515
<p>Input 422 for an error response.</p>
1616
<form>
17-
<label for="simple-field">Input</label>
17+
<p>All fields marked with * are required</p>
18+
19+
<label for="simple-field">Desired username*:</label>
1820
<auto-check csrf="foo" src="/demo" required>
1921
<input id="simple-field" autofocus name="foo" required />
2022
<code class="state"></code>
@@ -25,7 +27,9 @@ <h2>Simple form</h2>
2527
<h2>Form that has custom validity messages</h2>
2628
<p>Input 422 for an error response.</p>
2729
<form id="custom">
28-
<label for="custom-field">Input</label>
30+
<p>All fields marked with * are required</p>
31+
32+
<label for="custom-field">Desired username*:</label>
2933
<auto-check csrf="foo" src="/demo" required>
3034
<input id="custom-field" autofocus class="json" name="foo" required />
3135
<code class="state"></code>

0 commit comments

Comments
 (0)