Skip to content

Commit

Permalink
update examples index
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley committed Nov 25, 2024
1 parent a392941 commit 4c51db5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
<body>
<main>
<h1>auto-check-element</h1>
<h2>old behavior</h2>
<h2>Simple form</h2>
<h2 tabindex="-1" id="success1" class="success" hidden>Your submission was successful</h2>
<form>
<p>All fields marked with * are required</p>

<label for="simple-field">Desired username*:</label>
<auto-check csrf="foo" src="/demo" required>
<input id="simple-field" autofocus name="foo" required aria-describedby="state1" />
Expand Down Expand Up @@ -104,7 +106,7 @@ <h2 tabindex="-1" id="success3" class="success" hidden>Your submission was succe
}
</script>

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

0 comments on commit 4c51db5

Please sign in to comment.