Skip to content

Commit fa66878

Browse files
committed
Created tags section
1 parent 9fa56f9 commit fa66878

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

reference/twig_reference.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,22 @@ Filters
9090
+-------------------------------------------------+-------------------------------------------------------------------+
9191
| ``variable|yaml_dump`` | This will render a yaml syntax with their type. |
9292
+-------------------------------------------------+-------------------------------------------------------------------+
93+
94+
Tags
95+
----
96+
97+
+---------------------------------------------------+-------------------------------------------------------------------+
98+
| Tag Syntax | Usage |
99+
+===================================================+===================================================================+
100+
| ``{% render 'controller' with {parameters} %}`` | This will render the Response Content for the given controller, |
101+
| | more information in :ref:`templating-embedding-controller`. |
102+
+---------------------------------------------------+-------------------------------------------------------------------+
103+
| ``{% form_theme form 'file' %}`` | This will look inside the given file for overriden form blocks, |
104+
| | more information in :doc:`cookbook/form/form_customization`. |
105+
+---------------------------------------------------+-------------------------------------------------------------------+
106+
| ``{% trans with {variables} %}...{% endtrans %}`` | This will translate and render the text, more information in |
107+
| | :ref:`book-translation-twig` |
108+
+---------------------------------------------------+-------------------------------------------------------------------+
109+
| ``{% transchoice count with {variables}... | This will translate and render the text with pluralization, more |
110+
| {% endtranschoice %}`` | information in :ref:`book-translation-twig` |
111+
+---------------------------------------------------+-------------------------------------------------------------------+

0 commit comments

Comments
 (0)