Permalink
Browse files

minor #4764 [Reference][Forms] move cautions to make them visible (xa…

…bbuh)

This PR was merged into the 2.5 branch.

Discussion
----------

[Reference][Forms] move cautions to make them visible

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.5+
| Fixed tickets |

If the reader follows a direct link to the option's description, they
would very likely not see the caution as it was rendered outside the
viewport.

Commits
-------

e9559a5 move cautions to make them visible
  • Loading branch information...
weaverryan committed Jan 16, 2015
2 parents 50946ca + e9559a5 commit 240a9815f41c9c1f96d8757b33147e32e5e1b029
@@ -1,9 +1,11 @@
.. index::
single: ClassLoader; DebugClassLoader
Debugging a Class Loader
========================
Since Symfony 2.4, the ``DebugClassLoader`` of the Class Loader component is
deprecated. Use the
:doc:`DebugClassLoader provided by the Debug component </components/debug/class_loader>`.
.. caution::
The ``DebugClassLoader`` from the ClassLoader component was deprecated
in Symfony 2.5 and will be removed in Symfony 3.0. Use the
:doc:`DebugClassLoader provided by the Debug component </components/debug/class_loader>`.
@@ -1,7 +1,7 @@
* :doc:`/components/console/helpers/dialoghelper`
* :doc:`/components/console/helpers/dialoghelper` (deprecated as of 2.5)
* :doc:`/components/console/helpers/formatterhelper`
* :doc:`/components/console/helpers/progressbar`
* :doc:`/components/console/helpers/progresshelper`
* :doc:`/components/console/helpers/progresshelper` (deprecated as of 2.5)
* :doc:`/components/console/helpers/questionhelper`
* :doc:`/components/console/helpers/table`
* :doc:`/components/console/helpers/tablehelper`
* :doc:`/components/console/helpers/tablehelper` (deprecated as of 2.5)
@@ -409,9 +409,9 @@ tools capable of helping you with different tasks:
* :doc:`/components/console/helpers/questionhelper`: interactively ask the user for information
* :doc:`/components/console/helpers/formatterhelper`: customize the output colorization
* :doc:`/components/console/helpers/progresshelper`: shows a progress bar
* :doc:`/components/console/helpers/tablehelper`: displays tabular data as a table
* :doc:`/components/console/helpers/dialoghelper`: (deprecated) interactively ask the user for information
* :doc:`/components/console/helpers/progressbar`: shows a progress bar
* :doc:`/components/console/helpers/table`: displays tabular data as a table
* :doc:`/components/console/helpers/questionhelper`: interactively ask the user for information
.. _component-console-testing-commands:
@@ -1,11 +1,12 @@
.. caution::
The ``max_length`` option has been deprecated and will be removed in 3.0.
Instead, use the ``attr`` option by setting it to an array with a ``maxlength`` key.
max_length
~~~~~~~~~~
.. caution::
The ``max_length`` option was deprecated in Symfony 2.5 and will be removed
in Symfony 3.0. Use the ``attr`` option instead by setting it to an array
with a ``maxlength`` key.
**type**: ``integer`` **default**: ``null``
If this option is not null, an attribute ``maxlength`` is added, which
@@ -1,11 +1,12 @@
.. caution::
The ``pattern`` option has been deprecated and will be removed in 3.0.
Instead, use the ``attr`` option by setting it to an array with a ``pattern`` key.
pattern
~~~~~~~
.. caution::
The ``pattern`` option was deprecated in Symfony 2.5 and will be removed
in Symfony 3.0. Use the ``attr`` option instead by setting it to an array
with a ``pattern`` key.
**type**: ``string`` **default**: ``null``
This adds an HTML5 ``pattern`` attribute to restrict the field input by a

0 comments on commit 240a981

Please sign in to comment.