mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-20 13:53:42 -05:00
use api.updateBlacklist instead of the same route
This commit is contained in:
parent
008407b2f2
commit
ea1b6f9bc6
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
{% block _title %}Blacklist{% endblock %}
|
||||
{% set blacklist_link = 'active' %}
|
||||
{% block _content %}
|
||||
<form hx-post="{{ url_for('admin.blacklist') }}" hx-target="#response-container" hx-swap="none">
|
||||
<form hx-put="{{ url_for('api.updateBlacklist') }}" hx-target="#response-container" hx-swap="none">
|
||||
<input type="hidden" name="action" value="update_word_blacklist">
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label" for="blacklist_cat"><h2 id="blacklist" class="fw-normal">Word blacklist</h2></label>
|
||||
|
@ -15,4 +15,4 @@
|
|||
</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Reference in a new issue