2021-04-09 11:40:16 +02:00
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
<div class="modal" id="modal-{{ modal_id }}">
|
2021-08-21 22:58:01 +02:00
|
|
|
<div class="modal-background" data-closes="modal-{{ modal_id }}"></div>
|
2021-04-09 11:40:16 +02:00
|
|
|
<div class="modal-card">
|
2021-08-24 17:54:35 +02:00
|
|
|
<form method="post" action="{{ post_url }}" data-modal="modal-{{ modal_id }}">
|
2021-04-09 11:40:16 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
|
|
|
|
<header class="modal-card-head">
|
|
|
|
<p class="modal-card-title">{{ modal_title }}</p>
|
2021-08-21 22:58:01 +02:00
|
|
|
<a class="delete" aria-label="close" data-closes="modal-{{ modal_id }}"></a>
|
2021-04-09 11:40:16 +02:00
|
|
|
</header>
|
|
|
|
|
|
|
|
<section class="modal-card-body">
|
|
|
|
{% include "forms/form.html" %}
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<footer class="modal-card-foot">
|
2021-05-26 23:44:46 +02:00
|
|
|
<button class="button is-fullwidth is-outlined is-primary is-light" type="submit">
|
2021-04-13 15:22:53 +02:00
|
|
|
<span class="icon">
|
2021-04-09 11:40:16 +02:00
|
|
|
<i class="fas fa-check"></i>
|
|
|
|
</span>
|
|
|
|
<span>{% trans "Enregistrer" %}</span>
|
|
|
|
</button>
|
|
|
|
|
2021-08-21 22:58:01 +02:00
|
|
|
<a class="button is-primary button-close" data-closes="modal-{{ modal_id }}">
|
2021-04-13 15:22:53 +02:00
|
|
|
<span class="icon">
|
2021-04-15 17:01:17 +02:00
|
|
|
<i class="fas fa-times"></i>
|
2021-04-09 11:40:16 +02:00
|
|
|
</span>
|
|
|
|
<span>{% trans "Annuler" %}</span>
|
|
|
|
</a>
|
|
|
|
</footer>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|