django-components/sampleproject/components/calendar/calendar.html
adriaan 6f49339c91
fix/263 performance regression (#264)
* Replace deep copies in Component.render
* Add 2nd example component to sampleproject
2023-04-13 14:20:43 +02:00

13 lines
No EOL
307 B
HTML

<div class="calendar-component">
<div>Today's date is <span>{{ date }}</span></div>
<div>Your to-dos:</div>
<ul>
<li>
{% component_block "todo" %}
{% fill "todo_text" %}
Stop forgetting the milk!
{% endfill %}
{% endcomponent_block %}
</li>
</ul>
</div>