Refactor create user endpoint/template

This commit is contained in:
Peter Stockings
2023-10-20 20:10:27 +11:00
parent dc13b05420
commit 536e0b28bc
2 changed files with 10 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
<form class="block p-6 bg-white border border-gray-200 rounded-lg shadow mt-8" hx-post="{{ url_for('users') }}"
<form class="block p-6 bg-white border border-gray-200 rounded-lg shadow mt-8" hx-post="{{ url_for('create_user') }}"
hx-target="#users-container">
<div class="grid gap-4 grid-cols-1 md:grid-cols-3">