Correct error edit
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<section class="{{ bloc.property }}" id="{{ bloc.name }}" style="{{print_colors()}}" >
|
||||
<section class="{{ bloc.property }}" id="{{ bloc.name }}" style= "{% include '_print_colors.css' %}">
|
||||
<h2 class="section-heading text-center">{{ bloc.title }}</h2>
|
||||
<hr class="my-4">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user