Adds task

This commit is contained in:
Mouse Reeve
2022-02-24 12:15:31 -08:00
parent e837da37db
commit 3ce8b3390e
6 changed files with 68 additions and 29 deletions

View File

@ -17,7 +17,10 @@
{% trans "Auto-moderation rules will create reports for any user or status with fields matching the provided string." %}
{% trans "At this time, reports are <em>not</em> being generated automatically, and you must manually trigger a scan." %}
</p>
<button class="button is-warning">{% trans "Run scan" %}</button>
<form name="run-scan" method="POST" action="{% url 'settings-automod-run' %}">
{% csrf_token %}
<button class="button is-warning">{% trans "Run scan" %}</button>
</form>
</div>
{% if success %}