Skip to content

Commit 4c51db5

Browse files
committed
update examples index
1 parent a392941 commit 4c51db5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/index.html

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
<body>
1212
<main>
1313
<h1>auto-check-element</h1>
14-
<h2>old behavior</h2>
14+
<h2>Simple form</h2>
1515
<h2 tabindex="-1" id="success1" class="success" hidden>Your submission was successful</h2>
1616
<form>
17+
<p>All fields marked with * are required</p>
18+
1719
<label for="simple-field">Desired username*:</label>
1820
<auto-check csrf="foo" src="/demo" required>
1921
<input id="simple-field" autofocus name="foo" required aria-describedby="state1" />
@@ -104,7 +106,7 @@ <h2 tabindex="-1" id="success3" class="success" hidden>Your submission was succe
104106
}
105107
</script>
106108

107-
<!-- <script type="module" src="https://unpkg.com/@github/auto-check-element@latest"></script> -->
108-
<script type="module" src="../dist/bundle.js" defer></script>
109+
<script type="module" src="https://unpkg.com/@github/auto-check-element@latest"></script>
110+
<!-- <script type="module" src="../dist/bundle.js" defer></script> -->
109111
</body>
110112
</html>

0 commit comments

Comments
 (0)