{% extends 'bulma.html.twig' %}

{% block title %}Confirmez votre annulation{% endblock %}

{% block content %}

<div class="container">
  <div class="columns is-centered">
    <div class="column is-6">
      <div class="box">
        <div class="block">
        <h1 class="title is-4 has-text-centered">Annuler une participation</h1>
        
        <p>Merci de cliquer sur <strong class="has-text-danger">Confirmer</strong> pour annuler votre participation à la partie de <strong>{{ participation.party.game.name }}</strong> du {{ participation.party.startOn|date('d/m/y H:i', app_timezone) }}.</p>
</div>
        <div class="block">
        <div class="field is-grouped is-grouped-centered">
          <div class="control">
            {{ form_start(form) }}
            {{ form_widget(form) }}
            <button class="button is-danger" type="submit">Confirmer</button>
            <a href="{{ path(redirectPath) }}" class="button">Retour</a>
            {{ form_end(form) }}
          </div>
        </div>
        </div>
      </div>
    </div>
  </div>
</div>
{% endblock %}