mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 15:39:08 +00:00
Update README.md
Typo in `believe` and also missing `{}` for `{ slot.super }`
This commit is contained in:
parent
87e2889cdf
commit
5910d8d004
1 changed files with 2 additions and 2 deletions
|
@ -288,7 +288,7 @@ When using the component, you specify what slots you want to fill and where you
|
|||
|
||||
```htmldjango
|
||||
{% component_block "calendar" date="2020-06-06" %}
|
||||
{% slot "body" %}Can you belive it's already <span>{{ date }}</span>??{% endslot %}
|
||||
{% slot "body" %}Can you believe it's already <span>{{ date }}</span>??{% endslot %}
|
||||
{% endcomponent_block %}
|
||||
```
|
||||
|
||||
|
@ -312,7 +312,7 @@ If you want to include a slot's default content while adding additional content,
|
|||
|
||||
```htmldjango
|
||||
{% component_block "calendar" date="2020-06-06" %}
|
||||
{% slot "body" %}{ slot.super }. Have a great day!{% endslot %}
|
||||
{% slot "body" %}{{ slot.super }}. Have a great day!{% endslot %}
|
||||
{% endcomponent_block %}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue