Skip to content

Commit

Permalink
Reword
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz authored Jul 5, 2018
1 parent fd433a1 commit 740803e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions reference/twig_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -760,8 +760,9 @@ rootform
``form``
**type**: ``FormView``

Checks for sure if the current ``form`` does not have a parent form view. Using
this test is the safest way if your form contains a ``parent`` field.
Checks if the given ``form`` does not have a parent form view. This is the only
safe way of testing it because checking if the form contains a field called
``parent`` is not reliable.

Global Variables
----------------
Expand Down

0 comments on commit 740803e

Please sign in to comment.