Ticket #4527: as_p.diff

File as_p.diff, 618 bytes (added by Chris Beaven, 17 years ago)
  • D:/Web/Django/trunk/django/newforms/forms.py

     
    159159
    160160    def as_p(self):
    161161        "Returns this form rendered as HTML <p>s."
    162         return self._html_output(u'<p>%(label)s %(field)s%(help_text)s</p>', u'<p>%s</p>', '</p>', u' %s', True)
     162        return self._html_output(u'<p>%(label)s %(field)s%(help_text)s</p>', u'%s', '</p>', u' %s', True)
    163163
    164164    def non_field_errors(self):
    165165        """
Back to Top