Files
whynot-design/adapters/django/templates/whynot/_button.html
tegwick 80252baf53
Some checks failed
ci / check (push) Has been cancelled
ci / release (push) Has been cancelled
version 0.2.0 replaces fromer version!
2026-05-25 19:32:22 +02:00

7 lines
506 B
HTML

{# Button.
{% include "whynot/_button.html" with label="Promote" variant="primary" icon="arrow-right" %}
{% include "whynot/_button.html" with label="Cancel" %}
{% include "whynot/_button.html" with label="Read" href="/docs" variant="ghost" %} #}
<wn-button{% if variant %} variant="{{ variant }}"{% endif %}{% if icon %} icon="{{ icon }}"{% endif %}{% if href %} href="{{ href }}"{% endif %}{% if type %} type="{{ type }}"{% endif %}{% if disabled %} disabled{% endif %}>{{ label }}</wn-button>