16 lines
960 B
HTML
16 lines
960 B
HTML
{% extends 'admin/base.html' %}
|
|
{% block _title %}{{ _('Word blacklist') }}{% endblock %}
|
|
{% set blacklist_link = 'active' %}
|
|
{% block _content %}
|
|
<h2 id="blacklist" class="fw-normal mb-2">{{ _('Word blacklist') }}</h2>
|
|
<p class="fs-5 h3 text-body-secondary mb-3">{{ _("Blacklist words that you don't want to see") }}</p>
|
|
<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">{{ _('Blacklisted words for questions, one word per line') }}</label>
|
|
<!-- <p class="text-body-secondary">Blacklisted words for questions; one word per line</p> -->
|
|
<textarea id="blacklist_cat" name="blacklist" style="height: 300px; resize: vertical;" class="form-control">{{ blacklist }}</textarea>
|
|
{% include 'snippets/admin/saveBtn.html' %}
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|