mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 20:16:45 +00:00
Fix typo for html_cva code example
Fix a typo where 'red' should be 'blue' according to the above code.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user