mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 07:21:05 +00:00
Using ic-post-to instead of kt-post in example
This commit is contained in:
parent
eeb0985a0e
commit
cf15267247
@ -11,7 +11,8 @@ and updates the DOM with the validation results.
|
|||||||
We start with this form:
|
We start with this form:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<h3>Signup Form</h3><form ic-post-to="/contact">
|
<h3>Signup Form</h3>
|
||||||
|
<form kt-post="/contact">
|
||||||
<div kt-target="this" kt-swap="outerHTML">
|
<div kt-target="this" kt-swap="outerHTML">
|
||||||
<label>Email Address</label>
|
<label>Email Address</label>
|
||||||
<input name="email" kt-post="/contact/email" kt-indicator="#ind">
|
<input name="email" kt-post="/contact/email" kt-indicator="#ind">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user