Changed URL patterns to be more specific

This commit is contained in:
2024-04-03 20:24:54 +02:00
parent ca70fa6d4d
commit a3c53b1b20
13 changed files with 55 additions and 55 deletions

View File

@ -28,14 +28,14 @@
</div>
<div id="editor-images">
<input class="mb-2" name="article-image" type="file" hx-encoding="multipart/form-data" hx-post="/upload-image/"
<input class="mb-2" name="article-image" type="file" hx-encoding="multipart/form-data" hx-post="/upload-image"
hx-swap="beforeend" hx-target="#editor-images" />
</div>
<div class="btn-area">
<input class="action-btn" type="submit" value="Senden" hx-post="/resubmit-article/{{.Article.ID}}/"
<input class="action-btn" type="submit" value="Senden" hx-post="/resubmit-article/{{.Article.ID}}"
hx-target="#page-content" />
<button class="btn" hx-get="/hub/" hx-target="#page-content">Zurück</button>
<button class="btn" hx-get="/hub" hx-target="#page-content">Zurück</button>
</div>
</form>