2022-09-13 13:14:49 +00:00
|
|
|
{% extends 'master.twig' %}
|
|
|
|
{% from 'macros.twig' import container_title %}
|
|
|
|
{% from '_layout/input.twig' import input_csrf %}
|
|
|
|
|
|
|
|
{% set title = title|default('Confirm your action') %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form action="{{ action|default('') }}" method="{{ method|default('post') }}" class="container confirm">
|
|
|
|
{{ container_title('<i class="' ~ class|default('fas fa-exclamation-circle') ~ ' fa-fw"></i> ' ~ title) }}
|
|
|
|
{{ input_csrf() }}
|
|
|
|
{% for name, value in params|default([]) %}
|
|
|
|
{% if value is not empty %}
|
|
|
|
<input type="hidden" name="{{ name }}" value="{{ value }}"/>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
<div class="confirm__message">
|
|
|
|
{{ message|default('Are you sure you w') }}
|
|
|
|
</div>
|
|
|
|
<div class="confirm__buttons">
|
2023-07-17 14:37:39 +00:00
|
|
|
<input type="submit" class="input__button confirm__button" value="Yes">
|
2022-09-13 13:14:49 +00:00
|
|
|
<a href="{{ return|default('/') }}" class="input__button confirm__button">No</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|