The addarena.html form

The form data will be submitted with the POST method. Once the Add Arena button is pushed, the data inside the entry forms are submitted:

  <form method="post" class="form">
Name: {{form.name}}<br>
Longitude: {{ form.longitude(class_ = 'form-control first-input last-input', placeholder = form.longitude.data, ) }} <br>
Latitude: {{ form.latitude(class_ = 'form-control first-input last-input', placeholder = form.latitude.data, ) }} <br>
<input type="submit" value="Add Arena">
</form>
</body>
</html>

Clicking on the button will submit the data to the view function. The data will be processed, and a success JSON message returned:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset