<inputtype="submit"class="btn btn-style1"value="{% trans "Cancelregistration"%}"onclick="return confirm('{% blocktrans with costs=event.fine %}The deadline has passed, are you sure you want to cancel your registration and pay the full costs of €{{ costs }}? You will not be able to undo this!{% endblocktrans %}');"/>
{% else %}
<inputtype="submit"class="btn btn-style1"value="{% trans "Cancelregistration"%}"/>
<inputtype="submit"class="btn btn-style1"value="{% trans "Cancelregistration"%}"onclick="return confirm('{% trans 'Are you sure you want to cancel your registration?' %}');"/>