Ticket #4527: as_p.diff
File as_p.diff, 618 bytes (added by , 17 years ago) |
---|
-
D:/Web/Django/trunk/django/newforms/forms.py
159 159 160 160 def as_p(self): 161 161 "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) 163 163 164 164 def non_field_errors(self): 165 165 """