mirror of
https://github.com/django-components/django-components.git
synced 2025-08-05 06:48:00 +00:00
Add missing syntax
This commit is contained in:
parent
dd14f508d1
commit
480bb45d35
1 changed files with 2 additions and 2 deletions
|
@ -350,7 +350,7 @@ By contrast, it is permitted to use `fill` tags in nested components, e.g.:
|
|||
{% component_block "calendar" date="2020-06-06" %}
|
||||
{% component_block "beautiful-box" %}
|
||||
{% fill "content" %} Can you believe it's already <span>{{ date }}</span>?? {% endfill %}
|
||||
{% endcomponent_block
|
||||
{% endcomponent_block %}
|
||||
{% endcomponent_block %}
|
||||
```
|
||||
|
||||
|
@ -361,7 +361,7 @@ This is fine too:
|
|||
{% fill "header" %}
|
||||
{% component_block "calendar-header" %}
|
||||
Super Special Calendar Header
|
||||
{% endcomponent_block
|
||||
{% endcomponent_block %}
|
||||
{% endfill %}
|
||||
{% endcomponent_block %}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue