<!--
SPDX-FileCopyrightText: 2025-present Tobias Kunze
SPDX-License-Identifier: AGPL-3.0-only WITH LicenseRef-Pretalx-AGPL-3.0-Terms
-->

<button {% if type %}type="{{ type }}"{% endif %} {% if id %}id="{{ id }}"{% endif %} class="btn btn-{{ size }} btn-{{ color }}{% if extra_classes %} {{ extra_classes }}{% endif %}" name="{{ name }}" value="{{ value }}">
  {% if icon %}<i class="fa fa-{{ icon }}"></i>{% endif %}
  {{ label }}
</button>
