Skip to content

Commit f679456

Browse files
committed
Remove obsolete invert option and simplify layout
1 parent af3ae3b commit f679456

File tree

1 file changed

+13
-31
lines changed

1 file changed

+13
-31
lines changed

reference/forms/types/dateinterval.rst

Lines changed: 13 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ data can be a ``DateInterval`` object, a `RFC 3339`_ duration string or an array
3030
| | - `hours`_ |
3131
| | - `minutes`_ |
3232
| | - `seconds`_ |
33-
| | - `invert`_ |
3433
| | - `placeholder`_ |
3534
| | - `input`_ |
3635
| | - `widget`_ |
@@ -256,15 +255,6 @@ when the ``widget`` option is set to ``choice``::
256255

257256
'seconds' => range(1, 60)
258257

259-
invert
260-
~~~~~~
261-
262-
**type**: ``boolean`` **default**: ``false``
263-
264-
Default value of the invert field type::
265-
266-
'invert' => false
267-
268258
Inherited Options
269259
-----------------
270260

@@ -287,26 +277,18 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
287277
Field Variables
288278
---------------
289279

290-
+--------------+-------------+-----------------------------------------------------------------+
291-
| Variable | Type | Usage |
292-
+==============+=============+=================================================================+
293-
| widget | ``mixed`` | The value of the `widget`_ option. |
294-
+--------------+-------------+-----------------------------------------------------------------+
295-
| with_years | ``Boolean`` | The value of the `with_years`_ option. |
296-
+--------------+-------------+-----------------------------------------------------------------+
297-
| with_months | ``Boolean`` | The value of the `with_months`_ option. |
298-
+--------------+-------------+-----------------------------------------------------------------+
299-
| with_weeks | ``Boolean`` | The value of the `with_weeks`_ option. |
300-
+--------------+-------------+-----------------------------------------------------------------+
301-
| with_days | ``Boolean`` | The value of the `with_days`_ option. |
302-
+--------------+-------------+-----------------------------------------------------------------+
303-
| with_hours | ``Boolean`` | The value of the `with_hours`_ option. |
304-
+--------------+-------------+-----------------------------------------------------------------+
305-
| with_minutes | ``Boolean`` | The value of the `with_minutes`_ option. |
306-
+--------------+-------------+-----------------------------------------------------------------+
307-
| with_seconds | ``Boolean`` | The value of the `with_seconds`_ option. |
308-
+--------------+-------------+-----------------------------------------------------------------+
309-
| with_invert | ``Boolean`` | The value of the `with_invert`_ option. |
310-
+--------------+-------------+-----------------------------------------------------------------+
280+
============ =========== ========================================
281+
Variable Type Usage
282+
============ =========== ========================================
283+
widget ``mixed`` The value of the `widget`_ option.
284+
with_years ``Boolean`` The value of the `with_years`_ option.
285+
with_months ``Boolean`` The value of the `with_months`_ option.
286+
with_weeks ``Boolean`` The value of the `with_weeks`_ option.
287+
with_days ``Boolean`` The value of the `with_days`_ option.
288+
with_hours ``Boolean`` The value of the `with_hours`_ option.
289+
with_minutes ``Boolean`` The value of the `with_minutes`_ option.
290+
with_seconds ``Boolean`` The value of the `with_seconds`_ option.
291+
with_invert ``Boolean`` The value of the `with_invert`_ option.
292+
============ =========== ========================================
311293

312294
.. _`RFC 3339`: http://tools.ietf.org/html/rfc3339

0 commit comments

Comments
 (0)