diff --git a/www/examples/inline-validation.md b/www/examples/inline-validation.md index 6827d876..763d7e6b 100644 --- a/www/examples/inline-validation.md +++ b/www/examples/inline-validation.md @@ -87,7 +87,7 @@ Below is a working demo of this example. The only email that will be accepted i // routes init("/demo", function(request, params){ - return formTemplate(); + return demoTemplate(); }); onPost("/contact", function(request, params){ @@ -106,8 +106,13 @@ Below is a working demo of this example. The only email that will be accepted i }); // templates - function formTemplate(page) { - return `