2019-06-07 01:44:04 +02:00
|
|
|
{% extends "base/base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
<a href="{{ url_for('adm') }}">Panneau d'administration</a> » <a href={{ url_for('adm_trophies') }}>Titres et trophées</a> » <h1>Suppression du trophée '{{ trophy.name }}'</h1>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<section class="form">
|
|
|
|
<h2>Confirmer la suppression du trophée</h2>
|
|
|
|
<p>Le trophée '{{ trophy.name }}' que vous allez supprimer est lié à :</p>
|
|
|
|
<ul>
|
|
|
|
<li>{{ trophy.owners | length }} membre{{ trophy.owners|length|pluralize }}</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<form action="{{ url_for('adm_delete_trophy', trophy_id=trophy.id) }}" method=post>
|
|
|
|
{{ del_form.hidden_tag() }}
|
|
|
|
<div>
|
|
|
|
{{ del_form.delete.label }}
|
|
|
|
{{ del_form.delete(checked=False) }}
|
|
|
|
<div style="font-size: 80%; color: gray">{{ del_form.delete.description }}</div>
|
|
|
|
{% for error in del_form.delete.errors %}
|
|
|
|
<span class=msgerror>{{ error }}</span>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2020-07-13 22:54:34 +02:00
|
|
|
<div>{{ del_form.submit(class_="bg-error") }}</div>
|
2019-06-07 01:44:04 +02:00
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|