31 lines
541 B
HTML
31 lines
541 B
HTML
{% extends 'creative/_layout.html' %}
|
|
|
|
{% block body %}
|
|
|
|
{% include theme+'/_nav.html' %}
|
|
{% include theme+'/_navtool.html' %}
|
|
|
|
|
|
{% for bloc in myblocs.values() %}
|
|
|
|
{% if blocEdit == bloc.name %}
|
|
{% include theme+'/_'+bloc.type+'-edit.html' %}
|
|
{% else %}
|
|
|
|
{% include 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 %}
|
|
|
|
|
|
|
|
{% endblock %}
|