<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Form</title>
    <script src="/dist/turbo.es2017-umd.js" data-turbo-track="reload"></script>
    <script src="/src/tests/fixtures/test.js"></script>
    <script>
      const params = new URLSearchParams(window.location.search)

      if (params.has("formMode")) {
        window.Turbo.setFormMode(params.get("formMode"))
      }
    </script>
  </head>
  <body>
    <h1>Form Mode</h1>

    <form id="form" action="/__turbo/redirect" method="p