Rewrite edit blocs and themes

This commit is contained in:
2026-03-28 12:20:30 +01:00
committed by kitoy
parent 9497c64b09
commit 3a5edc30bb
32 changed files with 627 additions and 373 deletions

View File

@@ -0,0 +1,10 @@
<button class="btn btn-success"
hx-post='/edit/{{ bloc.name }}'
hx-swap="outerHTML"
hx-target="#{{ bloc.name }}" > Enregistrer </button>
<button class="btn btn-danger"
hx-get="/view/{{ bloc.name }}"
hx-swap="outerHTML"
hx-target="#{{ bloc.name }}" > Annuler </button>