mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Update inline-validation.md
This commit is contained in:
parent
206c3754d1
commit
c3550803b8
@ -107,7 +107,7 @@ Below is a working demo of this example. The only email that will be accepted i
|
|||||||
|
|
||||||
// templates
|
// templates
|
||||||
function formTemplate(page) {
|
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">
|
<div hx-target="this" hx-swap="outerHTML">
|
||||||
<label>Email Address</label>
|
<label>Email Address</label>
|
||||||
<input name="email" hx-get="/contact/email" hx-indicator="#ind">
|
<input name="email" hx-get="/contact/email" hx-indicator="#ind">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user