replace name of methods and funtions

This commit is contained in:
2026-05-21 22:27:23 +02:00
committed by kitoy
parent 7709f6127b
commit bf43a417c8
11 changed files with 118 additions and 140 deletions

View File

@@ -4,7 +4,7 @@
{{ form.csrf_token }}
<div class="row">
<div class="col-lg-2 mx-auto my-4 text-center">
<img class="img-fluid" src="/public/img/thumbnails/{{ image.file }}" alt="{{ image.description }}">
<img class="img-fluid" src="/img/thumbnails/{{ image.file }}" alt="{{ image.description }}">
</div>
<div class="col-lg-4 mx-auto my-4 text-center">
<h3> Titre </h3>
@@ -26,7 +26,7 @@
hx-swap="outerHTML"
hx-target="#editImageInfo"
hx-swap="delete"> Valider </button>
<button class="btn btn-danger mx-auto" hx-get="{{ url_for('delImage', page=page, bloc=bloc.name, image=image.file) }}"
<button class="btn btn-danger mx-auto" hx-get="{{ url_for('del_image', page=page, bloc=bloc.name, image=image.file) }}"
hx-swap="delete"
hx-target="#editImageInfo"> Supprimer l'image</button>
</div>