mbr / flask-bootstrap

Ready-to-use Twitter-bootstrap for use in Flask.
http://pypi.python.org/pypi/Flask-Bootstrap
Other
1.58k stars 724 forks source link

Adding id, name, and value to form fields. #194

Open coryveilleux opened 5 years ago

coryveilleux commented 5 years ago

Currently form fields are missing id, name, and value.

For name, this means that the fields and their data are not submitted.

For value, on pages where submits send the user back to the form, this means that all values would be cleared out after form submission rather than being preserved in the form.

On the previous line you can see the label is using the node.id, so using this in the input for id and name. Using the form fields data as the input's value.