Correct error edit

This commit is contained in:
2026-06-05 16:29:55 +02:00
committed by kitoy
parent c073b3aaf9
commit ca077ebc19
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<div>
<form class="sortblocs" action="/sortblocs" method="POST" id="myblocs">
<form class="sortblocs" action="/{{ page }}/sortblocs" method="POST" id="myblocs">
<input id="csrf_token" name="csrf_token" type="hidden" value="{{ csrf_token() }}">
{% include 'admin/_blocs-list.html' %}
</form>
@@ -9,7 +9,7 @@
<button class="btn btn-outline-success" onclick="printForm()">+</button>
<div class="formAddBloc" id="addBloc">
<form action="/addBloc" id="addBloc" method="POST" class="" >
<form action="/{{page}}/addBloc" id="addBloc" method="POST" class="" >
<input id="csrf_token" name="csrf_token" type="hidden" value="{{ csrf_token() }}">
<h3>Créé un nouveau bloc</H3>
<br>
@@ -40,7 +40,7 @@
<br/>
<button type="submit" class="btn btn-success"
onclick="valid_nameBloc()"
hx-post="/addBloc"
hx-post="/{{ page }}/addBloc"
hx-swap="outerHTML"
hx-target="#myblocs"> Créer le bloc </button>
</form>