File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -784,7 +784,7 @@ output can be customized on many different levels.
784
784
785
785
.. code-block :: html+php
786
786
787
- <?php echo $view[' form']->get( 'value') ->getTask() ?>
787
+ <?php echo $form->vars[ 'value'] ->getTask() ?>
788
788
789
789
.. index ::
790
790
single: Forms; Rendering each field by hand
@@ -890,7 +890,7 @@ to get the ``id``:
890
890
891
891
.. code-block :: html+php
892
892
893
- <?php echo $form['task']->get(' id') ?>
893
+ <?php echo $form['task']['vars'][' id'] ?>
894
894
895
895
To get the value used for the form field's name attribute you need to use
896
896
the ``full_name `` value:
@@ -903,7 +903,7 @@ the ``full_name`` value:
903
903
904
904
.. code-block :: html+php
905
905
906
- <?php echo $form['task']->get(' full_name') ?>
906
+ <?php echo $form['task'][vars'][' full_name'] ?>
907
907
908
908
Twig Template Function Reference
909
909
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments