1👍
form.as_p
is just a shortcut for rendering much more html code. Here is the documentation on what the .as_p
does.
Or, you can make your custom html, by looping through the form. Example:
{% for formfield in myform %}
{{ formfield }}
{{ formfield.errors }}
{% endfor %}
Source:stackexchange.com