mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 15:39:08 +00:00
Merge branch 'master' of https://github.com/EmilStenstrom/django-components
This commit is contained in:
commit
373de73787
1 changed files with 16 additions and 2 deletions
18
README.md
18
README.md
|
@ -128,6 +128,13 @@ TEMPLATES = [
|
|||
</a>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<a href="https://github.com/housUnus">
|
||||
<img src="https://avatars.githubusercontent.com/u/44384710?v=4" width="100;" alt="housUnus"/>
|
||||
<br />
|
||||
<sub><b><AIT ALI EL HOSAYN></b></sub>
|
||||
</a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="https://github.com/danjac">
|
||||
<img src="https://avatars.githubusercontent.com/u/249779?v=4" width="100;" alt="danjac"/>
|
||||
|
@ -142,6 +149,13 @@ TEMPLATES = [
|
|||
<sub><b>Real-Gecko</b></sub>
|
||||
</a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="https://github.com/simkimsia">
|
||||
<img src="https://avatars.githubusercontent.com/u/245021?v=4" width="100;" alt="simkimsia"/>
|
||||
<br />
|
||||
<sub><b>KimSia Sim</b></sub>
|
||||
</a>
|
||||
</td>
|
||||
<td align="center">
|
||||
<a href="https://github.com/telenieko">
|
||||
<img src="https://avatars.githubusercontent.com/u/10505?v=4" width="100;" alt="telenieko"/>
|
||||
|
@ -281,7 +295,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 %}
|
||||
```
|
||||
|
||||
|
@ -305,7 +319,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