Update inline-validation.md

This commit is contained in:
Ben Croker 2020-05-28 01:16:26 +02:00 committed by GitHub
parent 206c3754d1
commit c3550803b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ Below is a working demo of this example. The only email that will be accepted i
// templates
function formTemplate(page) {
return `<h3>Signup Form</h3><form ic-post-to="/contact">
return `<h3>Signup Form</h3><form hx-post="/contact">
<div hx-target="this" hx-swap="outerHTML">
<label>Email Address</label>
<input name="email" hx-get="/contact/email" hx-indicator="#ind">