-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdelete_posts.html.twig
More file actions
30 lines (27 loc) · 1.24 KB
/
delete_posts.html.twig
File metadata and controls
30 lines (27 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends '@forum/layout.html.twig' %}
{% block content %}
{{ fireHook('view.moderate.delete_posts.start') }}
<div class="blockform">
<h2><span>{{ trans('Delete posts') }}</span></h2>
<div class="box">
<form method="post" action="">
<input type="hidden" name="csrf_name" value="{{ csrf_name }}">
<input type="hidden" name="csrf_value" value="{{ csrf_value }}">
<input type="hidden" name="posts" value="{{ posts|keys|join(',') }}" />
<div class="inform">
<fieldset>
<legend>{{ trans('Confirm delete legend') }}</legend>
<div class="infldset">
<p>{{ trans('Delete posts comply') }}</p>
</div>
</fieldset>
</div>
<p class="buttons">
<input class="btn btn-primary" type="submit" name="delete_posts_comply" value="{{ trans('Delete') }}" />
<a class="btn btn-primary" href="javascript:history.go(-1)">{{ trans('Go back') }}</a>
</p>
</form>
</div>
</div>
{{ fireHook('view.moderate.delete_posts.end') }}
{% endblock content %}