add app user management allauth
This commit is contained in:
8
templates/partials/disable_user.html
Normal file
8
templates/partials/disable_user.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<button
|
||||
class="btn btn-warning btn-sm"
|
||||
hx-post="/user/disable/{{user.slug}}"
|
||||
hx-target="#user-status"
|
||||
hx-swap="innerHTML"
|
||||
>
|
||||
Disable
|
||||
</button>
|
||||
Reference in New Issue
Block a user