Skip to content

Commit 25c4ae6

Browse files
committed
minor symfony#11237 use correct code-block type (OskarStark)
This PR was merged into the 3.4 branch. Discussion ---------- use correct code-block type <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- b4117c5 use correct code-block type
2 parents 5be87ca + b4117c5 commit 25c4ae6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

doctrine/registration_form.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ Next, create the template:
366366
.. code-block:: html+twig
367367

368368
{# app/Resources/views/registration/register.html.twig #}
369-
370369
{{ form_start(form) }}
371370
{{ form_row(form.username) }}
372371
{{ form_row(form.email) }}

page_creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Finally, template files should live in the ``app/Resources/views`` directory. Cr
141141
a new ``app/Resources/views/lucky`` directory with a new ``number.html.twig`` file
142142
inside:
143143

144-
.. code-block:: twig
144+
.. code-block:: html+twig
145145

146146
{# app/Resources/views/lucky/number.html.twig #}
147147

0 commit comments

Comments
 (0)