Skip to content

Commit 92798e2

Browse files
committed
three small cleanups to form type documentation
1 parent 95e0a78 commit 92798e2

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

reference/forms/types/date.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Field Options
7878
empty_value
7979
~~~~~~~~~~~
8080

81-
**type**: ``string``|``array``
81+
**type**: ``string`` or ``array``
8282

8383
If your widget option is set to ``choice``, then this field will be represented
8484
as a series of ``select`` boxes. The ``empty_value`` option can be used to

reference/forms/types/datetime.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,15 @@ data can be a ``DateTime`` object, a string, a timestamp or an array.
1919
| | - `time_widget`_ |
2020
| | - `input`_ |
2121
| | - `date_format`_ |
22+
| | - `hours`_ |
23+
| | - `minutes`_ |
24+
| | - `seconds`_ |
2225
| | - `years`_ |
2326
| | - `months`_ |
2427
| | - `days`_ |
28+
| | - `with_seconds`_ |
29+
| | - `data_timezone`_ |
30+
| | - `user_timezone`_ |
2531
+----------------------+-----------------------------------------------------------------------------+
2632
| Parent type | :doc:`form</reference/forms/types/form>` |
2733
+----------------------+-----------------------------------------------------------------------------+

reference/forms/types/url.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ have a protocol.
1111
+-------------+-------------------------------------------------------------------+
1212
| Rendered as | ``input url`` field |
1313
+-------------+-------------------------------------------------------------------+
14-
| Options | - ``default_protocol`` |
14+
| Options | - `default_protocol`_ |
1515
+-------------+-------------------------------------------------------------------+
1616
| Inherited | - `max_length`_ |
1717
| options | - `required`_ |

0 commit comments

Comments
 (0)