(defcomp
  ()
  (~examples/page-content
    :title "Form Submission"
    :description "Forms with sx-post submit via AJAX and swap the response into a target."
    :demo-description "Enter a name and submit."
    :demo (~examples/form-demo)
    :sx-code "(form\n  :sx-post \"/sx/(geography.(hypermedia.(example.(api.form))))\"\n  :sx-target \"#form-result\"\n  :sx-swap \"innerHTML\"\n  (input :type \"text\" :name \"name\")\n  (button :type \"submit\" \"Submit\"))"
    :handler-names (list "ex-form")
    :comp-placeholder-id "form-comp"
    :wire-placeholder-id "form-wire"))
