Skip to content

Commit d36f66d

Browse files
committed
Merge pull request symfony#3112 from xabbuh/issue-3111
fix HTML so that the syntax highlighting is not broken
2 parents 7a1a45c + 32cdca7 commit d36f66d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/forms.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ renders the form:
12341234
12351235
{% form_theme form 'AcmeTaskBundle:Form:fields.html.twig' 'AcmeTaskBundle:Form:fields2.html.twig' %}
12361236
1237-
<form ...>
1237+
<!-- ... render the form -->
12381238
12391239
.. code-block:: html+php
12401240
@@ -1243,7 +1243,7 @@ renders the form:
12431243
12441244
<?php $view['form']->setTheme($form, array('AcmeTaskBundle:Form', 'AcmeTaskBundle:Form')) ?>
12451245
1246-
<form ...>
1246+
<!-- ... render the form -->
12471247
12481248
The ``form_theme`` tag (in Twig) "imports" the fragments defined in the given
12491249
template and uses them when rendering the form. In other words, when the

0 commit comments

Comments
 (0)