kadenios/shared/templates/forms/modal-form.html

36 lines
979 B
HTML
Raw Normal View History

{% load i18n %}
<div class="modal" id="modal-{{ modal_id }}">
<div class="modal-background"></div>
<div class="modal-card">
<form method="post" action="{{ post_url }}">
{% csrf_token %}
<header class="modal-card-head">
<p class="modal-card-title">{{ modal_title }}</p>
<a class="delete" aria-label="close"></a>
</header>
<section class="modal-card-body">
{% include "forms/form.html" %}
</section>
<footer class="modal-card-foot">
<button class="button is-fullwidth is-outlined is-primary is-light">
2021-04-13 15:22:53 +02:00
<span class="icon">
<i class="fas fa-check"></i>
</span>
<span>{% trans "Enregistrer" %}</span>
</button>
<a class="button is-primary button-close">
2021-04-13 15:22:53 +02:00
<span class="icon">
<i class="fas fa-times"></i>
</span>
<span>{% trans "Annuler" %}</span>
</a>
</footer>
</form>
</div>
</div>