Skip to content

Commit dc2de60

Browse files
peterrehmweaverryan
authored andcommitted
Formatted and minor improvements
1 parent 23634e1 commit dc2de60

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

reference/forms/types/collection.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,13 @@ you may want to change the placeholder so that unrelated placeholders are not
337337
replaced with the same value.
338338

339339
delete_empty
340-
~~~~~~~~~~~~~~
340+
~~~~~~~~~~~~
341341

342342
**type**: ``Boolean`` **default**: ``false``
343343

344344
If you want to explicitly remove entirely empty collection entries from your
345-
form you have to set this option to true. Existing collection entries will
346-
however only be deleted if you have `allow_delete`_ option enabled, otherwise
345+
form you have to set this option to true. However, existing collection entries
346+
will only be deleted if you have the allow_delete_ option enabled. Otherwise
347347
the empty values will be kept.
348348

349349
Inherited options

reference/forms/types/options/empty_data.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The true default value of this option depends on the field options:
1414

1515

1616
But you can customize this to your needs. For example, if you want the ``gender`` field to be
17-
set to explicitly ``null`` when no value is selected, you can do it like this:
17+
explicitly set to ``null`` when no value is selected, you can do it like this:
1818

1919
.. code-block:: php
2020

reference/forms/types/options/required.rst.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ This is superficial and independent from validation. At best, if you let Symfony
1010
guess your field type, then the value of this option will be guessed from
1111
your validation information.
1212

13-
.. _`HTML5 required attribute`: http://diveintohtml5.info/forms.html
14-
1513
.. note::
1614

17-
The required option does also affect the way how empty data of your form is
18-
being handled. For further details check the :doc:` empty_data</reference/forms/types/options/empty_data.rst.inc>` option.
15+
The required option does also affect the way how empty data of your form is
16+
being handled. For further details check the `empty_data`_ option.
17+
18+
.. _`HTML5 required attribute`: http://diveintohtml5.info/forms.html

0 commit comments

Comments
 (0)