  template, see also :ref:`overriding-built-in-form-templates`.
  
  ``as_p()``
  ~~~~~~~~~~
  
  .. attribute:: Form.template_name_p
 
</s> remove ----------
 </s> add ~~~~~~~~~~

.. attribute:: Form.template_name_p

The template used by ``as_p()``. Default: ``'django/forms/p.html'``. </s> remove ``as_p()`` renders the form using the template assigned to the forms
``template_name_p`` attribute, by default this template is
``'django/forms/p.html'``. This template renders the form as a series of
``<p>`` tags, with each ``<p>`` containing one field::
 </s> add ``as_p()`` renders the form as a series of ``<p>`` tags, with each ``<p>``
containing one field:: </s> remove -----------------------
 </s> add ~~~~~~~~~~~~~~~~~~~~~~~ </s> remove ``template_name``
 </s> add Default rendering
Output styles
-------------

As well as rendering the form directly, such as in a template with
``{{ form }}``, the following helper functions serve as a proxy to
:meth:`Form.render` passing a particular ``template_name`` value.

These helpers are most useful in a template, where you need to override the
form renderer or form provided value but cannot pass the additional parameter
to :meth:`~Form.render`. For example, you can render a form as an unordered
list using ``{{ form.as_ul }}``.

Each helper pairs a form method with an attribute giving the appropriate
template name.

  template, see also :ref:`overriding-built-in-form-templates`.
  
Output styles
-------------

As well as rendering the form directly, such as in a template with
``{{ form }}``, the following helper functions serve as a proxy to
:meth:`Form.render` passing a particular ``template_name`` value.

These helpers are most useful in a template, where you need to override the
form renderer or form provided value but cannot pass the additional parameter
to :meth:`~Form.render`. For example, you can render a form as an unordered
list using ``{{ form.as_ul }}``.

Each helper pairs a form method with an attribute giving the appropriate
template name.

  ``as_p()``
  ~~~~~~~~~~
  
  .. attribute:: Form.template_name_p
keep add keep keep keep keep
 Refs #32339 -- Restructured outputting HTML form docs.

In the topic doc, promoted the Reusable form templates section.

In the reference, re-grouped and promoted the default __str__()
rendering path, and then gathered the various as_*() helpers
subsequently.

Thanks to David Smith for review. 
docs/ref/forms/api.txt