Skip to content

Commit

Permalink
minor #4560 Fix typo for html_cva code example (matthieupetel)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.x branch.

Discussion
----------

Fix typo for html_cva code example

Fix a typo where 'red' should be 'blue' according to the code above.

Commits
-------

83da53c Fix typo for html_cva code example
  • Loading branch information
fabpot committed Jan 28, 2025
2 parents 48d167a + 83da53c commit b638637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/functions/html_cva.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Then use the ``color`` and ``size`` variants to select the needed classes:
{# index.html.twig #}
{{ include('alert.html.twig', {'color': 'blue', 'size': 'md'}) }}
// class="alert bg-red text-md"
// class="alert bg-blue text-md"
{{ include('alert.html.twig', {'color': 'green', 'size': 'sm'}) }}
// class="alert bg-green text-sm"
Expand Down

0 comments on commit b638637

Please sign in to comment.