{#- Cards. Shared arguments (class, attrs, kwargs): see components/button.html. card(title=None, description=None, href=None, padded=True, class="", attrs=None, **kwargs) A bordered surface for grouping content; the {% call %} block is the body. With title (and optionally description) it gets a header. padded=False drops the body padding (and separates the header with a border), for tables and lists that run edge to edge. With href the whole card is a link with a hover border. Examples: {% call m.card("Details", "Shown to every user") %}
…
{% endcall %} {% call m.card(padded=False) %}{{ description }}
{%- endif %}