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-09-16 16:43:27 +02:00
|
|
|
<header class="modal-card-head">
|
|
|
|
<p class="modal-card-title">{{ modal_title }}</p>
|
|
|
|
<button class="delete" aria-label="close" data-closes="modal-{{ modal_id }}"></button>
|
|
|
|
</header>
|
2021-04-09 11:40:16 +02:00
|
|
|
|
2021-09-16 16:43:27 +02:00
|
|
|
<section class="modal-card-body">
|
|
|
|
<form method="post" action="{{ post_url }}" id="form-{{ modal_id }}" data-modal="modal-{{ modal_id }}">
|
|
|
|
{% csrf_token %}
|
2021-04-09 11:40:16 +02:00
|
|
|
{% include "forms/form.html" %}
|
2021-09-16 16:43:27 +02:00
|
|
|
</form>
|
|
|
|
</section>
|
2021-04-09 11:40:16 +02:00
|
|
|
|
2021-09-16 16:43:27 +02:00
|
|
|
<footer class="modal-card-foot">
|
|
|
|
<button class="button is-fullwidth is-outlined is-primary is-light" form="form-{{ modal_id }}" type="submit">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fas fa-check"></i>
|
|
|
|
</span>
|
|
|
|
<span>{% trans "Enregistrer" %}</span>
|
|
|
|
</button>
|
2021-04-09 11:40:16 +02:00
|
|
|
|
2021-09-16 16:43:27 +02:00
|
|
|
<button class="button is-primary button-close" data-closes="modal-{{ modal_id }}">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fas fa-times"></i>
|
|
|
|
</span>
|
|
|
|
<span>{% trans "Annuler" %}</span>
|
|
|
|
</button>
|
|
|
|
</footer>
|
2021-04-09 11:40:16 +02:00
|
|
|
</div>
|
|
|
|
</div>
|