Commit b5d60927 authored by Claude Paroz's avatar Claude Paroz
Browse files

[1.7.x] Replaced input by textarea in forms docs

Backport of 5066fda3 from master.
parent d7b32d31
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -423,9 +423,9 @@ type="text">``.

In most cases, the field will have a sensible default widget. For example, by
default, a :class:`CharField` will have a :class:`TextInput` widget, that
produces an ``<input type="text">`` in the HTML. If you needed
``<input type="textarea">`` instead, you'd specify the appropriate widget when
defining your form field, as we have done for the ``message`` field.
produces an ``<input type="text">`` in the HTML. If you needed ``<textarea>``
instead, you'd specify the appropriate widget when defining your form field,
as we have done for the ``message`` field.

Field data
^^^^^^^^^^