@@ -319,7 +319,7 @@ object:
319
319
+------------------------+-------------------------------------------------------------------------------------+
320
320
| Variable | Usage |
321
321
+========================+=====================================================================================+
322
- | ``form `` | The current FormView instance |
322
+ | ``form `` | The current `` FormView `` instance |
323
323
+------------------------+-------------------------------------------------------------------------------------+
324
324
| ``id `` | The ``id `` HTML attribute to be rendered |
325
325
+------------------------+-------------------------------------------------------------------------------------+
@@ -331,8 +331,8 @@ object:
331
331
| ``errors `` | An array of any errors attached to *this * specific field |
332
332
| | (e.g. ``form.title.errors ``). |
333
333
| | Note that you can't use ``form.errors `` to determine if a form is valid, |
334
- | | since this only returns "global" errors: some individual fields may have errors |
335
- | | Instead, use the ``valid `` option |
334
+ | | since this only returns "global" errors: some individual fields may have errors. |
335
+ | | Instead, use the ``valid `` option. |
336
336
+------------------------+-------------------------------------------------------------------------------------+
337
337
| ``valid `` | Returns ``true `` or ``false `` depending on whether the whole form is valid |
338
338
+------------------------+-------------------------------------------------------------------------------------+
@@ -365,13 +365,13 @@ object:
365
365
+------------------------+-------------------------------------------------------------------------------------+
366
366
| ``translation_domain `` | The domain of the translations for this form |
367
367
+------------------------+-------------------------------------------------------------------------------------+
368
- | ``cache_key `` | An unique key which is used for caching |
368
+ | ``cache_key `` | A unique key which is used for caching |
369
369
+------------------------+-------------------------------------------------------------------------------------+
370
370
| ``data `` | The normalized data of the type |
371
371
+------------------------+-------------------------------------------------------------------------------------+
372
- | ``method `` | The method of the current form (POST, GET, etc) |
372
+ | ``method `` | The method of the current form (POST, GET, etc.) |
373
373
+------------------------+-------------------------------------------------------------------------------------+
374
- | ``action `` | The action of the current form (POST, GET, etc) |
374
+ | ``action `` | The action of the current form |
375
375
+------------------------+-------------------------------------------------------------------------------------+
376
376
377
377
.. _`form_div_layout.html.twig` : https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
0 commit comments