8000 use correct code block for examples by OskarStark · Pull Request #11383 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

use correct code block for examples #11383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion form/form_customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The next step is to use the :ref:`form_start() <reference-forms-twig-start>`,
:ref:`form_row() <reference-forms-twig-row>` Twig functions to render the
different form parts so you can customize them adding HTML elements and attributes:

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

{{ form_start(form) }}
<div class="my-custom-class-for-errors">
Expand Down
2 changes: 1 addition & 1 deletion form/form_themes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ A form can also be customized by applying several themes. To do this, pass the
path of all the Twig templates as an array using the ``with`` keyword (their
order is important, because each theme overrides all the previous ones):

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

{# apply multiple form themes but only to the form of this template #}
{% form_theme form with [
Expand Down
0