pre-img swap
This commit is contained in:
@@ -6,15 +6,22 @@
|
||||
... inner content ...
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
|
||||
Optional blocks: badge, description, actions
|
||||
These are additive — existing embeds that only use `body` are unaffected.
|
||||
#}
|
||||
<div class="dashboard-card {{ classes|default('') }}" {% if id is defined %}id="{{ id }}"{% endif %}>
|
||||
{% if title is defined and title %}
|
||||
<div class="dashboard-card-header">
|
||||
{{ title|raw }}
|
||||
{% block badge %}{% endblock %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="dashboard-card-body">
|
||||
{% block body %}{% endblock %}
|
||||
{% block description %}{% endblock %}
|
||||
</div>
|
||||
|
||||
{% block actions %}{% endblock %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user