diff --git a/plugins/october/demo/components/todo/default.htm b/plugins/october/demo/components/todo/default.htm index 24429ec47..e30428c8e 100644 --- a/plugins/october/demo/components/todo/default.htm +++ b/plugins/october/demo/components/todo/default.htm @@ -1,16 +1,15 @@ -
+{{ form_ajax(__SELF__ ~ '::onAddItem', { + update: "'" ~ __SELF__ ~ "::list': '#result'", + success: "$('#input-item').val('')", + 'data-request-flash': '' +}) }}

To Do List

- + @@ -19,4 +18,4 @@
- +{{ form_close() }}