Files
monsiteperso/app/templates/edit.html.tpl~
2026-02-06 13:11:20 +01:00

36 lines
695 B
Smarty

{% extends 'index.html.tpl' %}
{% block css %}
{% include 'edit-tools/css/dropzone' %}
{% endblock %}
{% block body %}
{% include config.theme+'/_nav.html' %}
{% include config.theme+'/_navtool.html' %}
{% for bloc in myblocs.values() %}
{% if blocEdit == bloc.name %}
{% include config.theme+'/_'+bloc.type+'-edit.html' %}
{% else %}
{% include config.theme+'/_'+bloc.type+'.html' %}
<button class="btn btn-success btn-xl pull-right"
style="margin-top:-7rem; margin-right:1rem;"
hx-get="/edit/{{ bloc.name }}"
hx-target="#{{bloc.name}}"
hw-swap="none"
> Éditer </button>
{% endif %}
{% endfor %}
{% include '_flash_msgs.html' %}
{% endblock %}
{% block js %}
{% endblock %}