Skip to content

Commit 7710429

Browse files
committed
Made full stop usage consistent
1 parent 398d23f commit 7710429

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

reference/forms/twig_reference.rst

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -319,59 +319,59 @@ object:
319319
+------------------------+-------------------------------------------------------------------------------------+
320320
| Variable | Usage |
321321
+========================+=====================================================================================+
322-
| ``form`` | The current ``FormView`` instance |
322+
| ``form`` | The current ``FormView`` instance. |
323323
+------------------------+-------------------------------------------------------------------------------------+
324-
| ``id`` | The ``id`` HTML attribute to be rendered |
324+
| ``id`` | The ``id`` HTML attribute to be rendered. |
325325
+------------------------+-------------------------------------------------------------------------------------+
326326
| ``name`` | The name of the field (e.g. ``title``) - but not the ``name`` |
327-
| | HTML attribute, which is ``full_name`` |
327+
| | HTML attribute, which is ``full_name``. |
328328
+------------------------+-------------------------------------------------------------------------------------+
329-
| ``full_name`` | The ``name`` HTML attribute to be rendered |
329+
| ``full_name`` | The ``name`` HTML attribute to be rendered. |
330330
+------------------------+-------------------------------------------------------------------------------------+
331331
| ``errors`` | An array of any errors attached to *this* specific field |
332332
| | (e.g. ``form.title.errors``). |
333333
| | Note that you can't use ``form.errors`` to determine if a form is valid, |
334334
| | since this only returns "global" errors: some individual fields may have errors. |
335335
| | Instead, use the ``valid`` option. |
336336
+------------------------+-------------------------------------------------------------------------------------+
337-
| ``valid`` | Returns ``true`` or ``false`` depending on whether the whole form is valid |
337+
| ``valid`` | Returns ``true`` or ``false`` depending on whether the whole form is valid. |
338338
+------------------------+-------------------------------------------------------------------------------------+
339-
| ``value`` | The value that will be used when rendering (commonly the ``value`` HTML attribute) |
339+
| ``value`` | The value that will be used when rendering (commonly the ``value`` HTML attribute). |
340340
+------------------------+-------------------------------------------------------------------------------------+
341-
| ``read_only`` | If ``true``, ``readonly="readonly"`` is added to the field |
341+
| ``read_only`` | If ``true``, ``readonly="readonly"`` is added to the field. |
342342
+------------------------+-------------------------------------------------------------------------------------+
343-
| ``disabled`` | If ``true``, ``disabled="disabled"`` is added to the field |
343+
| ``disabled`` | If ``true``, ``disabled="disabled"`` is added to the field. |
344344
+------------------------+-------------------------------------------------------------------------------------+
345345
| ``required`` | If ``true``, a ``required`` attribute is added to the field to activate HTML5 |
346346
| | validation. Additionally, a ``required`` class is added to the label. |
347347
+------------------------+-------------------------------------------------------------------------------------+
348-
| ``max_length`` | Adds a ``maxlength`` HTML attribute to the element |
348+
| ``max_length`` | Adds a ``maxlength`` HTML attribute to the element. |
349349
+------------------------+-------------------------------------------------------------------------------------+
350-
| ``pattern`` | Adds a ``pattern`` HTML attribute to the element |
350+
| ``pattern`` | Adds a ``pattern`` HTML attribute to the element. |
351351
+------------------------+-------------------------------------------------------------------------------------+
352-
| ``label`` | The string label that will be rendered |
352+
| ``label`` | The string label that will be rendered. |
353353
+------------------------+-------------------------------------------------------------------------------------+
354354
| ``multipart`` | If ``true``, ``form_enctype`` will render ``enctype="multipart/form-data"``. |
355355
| | This only applies to the root form element. |
356356
+------------------------+-------------------------------------------------------------------------------------+
357-
| ``attr`` | A key-value array that will be rendered as HTML attributes on the field |
357+
| ``attr`` | A key-value array that will be rendered as HTML attributes on the field. |
358358
+------------------------+-------------------------------------------------------------------------------------+
359-
| ``label_attr`` | A key-value array that will be rendered as HTML attributes on the label |
359+
| ``label_attr`` | A key-value array that will be rendered as HTML attributes on the label. |
360360
+------------------------+-------------------------------------------------------------------------------------+
361361
| ``compound`` | Whether or not a field is actually a holder for a group of children fields |
362-
| | (for example, a ``choice`` field, which is actually a group of checkboxes |
362+
| | (for example, a ``choice`` field, which is actually a group of checkboxes. |
363363
+------------------------+-------------------------------------------------------------------------------------+
364-
| ``block_prefixes`` | An array of all the names of the parent types |
364+
| ``block_prefixes`` | An array of all the names of the parent types. |
365365
+------------------------+-------------------------------------------------------------------------------------+
366-
| ``translation_domain`` | The domain of the translations for this form |
366+
| ``translation_domain`` | The domain of the translations for this form. |
367367
+------------------------+-------------------------------------------------------------------------------------+
368-
| ``cache_key`` | A unique key which is used for caching |
368+
| ``cache_key`` | A unique key which is used for caching. |
369369
+------------------------+-------------------------------------------------------------------------------------+
370-
| ``data`` | The normalized data of the type |
370+
| ``data`` | The normalized data of the type. |
371371
+------------------------+-------------------------------------------------------------------------------------+
372-
| ``method`` | The method of the current form (POST, GET, etc.) |
372+
| ``method`` | The method of the current form (POST, GET, etc.). |
373373
+------------------------+-------------------------------------------------------------------------------------+
374-
| ``action`` | The action of the current form |
374+
| ``action`` | The action of the current form. |
375375
+------------------------+-------------------------------------------------------------------------------------+
376376

377377
.. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig

reference/forms/types/file.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
104104
Form Variables
105105
--------------
106106

107-
======== ========== ==============================================================================
107+
======== ========== ===============================================================================
108108
Variable Type Usage
109-
======== ========== ==============================================================================
110-
type ``string`` The type variable is set to ``file``, in order to render as a file input field
111-
======== ========== ==============================================================================
109+
======== ========== ===============================================================================
110+
type ``string`` The type variable is set to ``file``, in order to render as a file input field.
111+
======== ========== ===============================================================================

reference/forms/types/money.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
115115
Form Variables
116116
--------------
117117

118-
============= ========== ==============================================================
118+
============= ========== ===============================================================
119119
Variable Type Usage
120-
============= ========== ==============================================================
121-
money_pattern ``string`` The format to use to display the money, including the currency
122-
============= ========== ==============================================================
120+
============= ========== ===============================================================
121+
money_pattern ``string`` The format to use to display the money, including the currency.
122+
============= ========== ===============================================================
123123

124124
.. _`3 letter ISO 4217 code`: http://en.wikipedia.org/wiki/ISO_4217

0 commit comments

Comments
 (0)