mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
rootplace: add tool to delete all forum messages from a specified user
This commit is contained in:
14
rootplace/templates/rootplace/delete_user_messages.jinja
Normal file
14
rootplace/templates/rootplace/delete_user_messages.jinja
Normal file
@ -0,0 +1,14 @@
|
||||
{% extends "core/base.jinja" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans %}Delete user's forum messages{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h3>{% trans %}Delete all forum messages from an user{% endtrans %}</h3>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p() }}
|
||||
<p><input type="submit" value="{% trans %}Delete messages{% endtrans %}" /></p>
|
||||
</form>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user