summaryrefslogtreecommitdiff
path: root/examples/form/signup.css
diff options
context:
space:
mode:
Diffstat (limited to 'examples/form/signup.css')
-rw-r--r--examples/form/signup.css6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/form/signup.css b/examples/form/signup.css
index 3811c42..2335334 100644
--- a/examples/form/signup.css
+++ b/examples/form/signup.css
@@ -30,11 +30,13 @@
prevent-default()
add-class(form, 'submitting')
try(
- request('https://jksldjflksdjlfsd.com/wow'),
+ do(
+ request('/examples'),
+ add-class(form, 'submitted')
+ ),
js-eval(string('alert("', get-var(--error), '")'))
)
remove-class(form, 'submitting')
- add-class(form, 'submitted')
;
--cssx-children: input#input-email input#input-password #actions #message;