openvk/Web/Presenters/templates/Report/View.xml

23 lines
842 B
XML
Raw Normal View History

2021-09-25 16:59:18 +03:00
{extends "../@layout.xml"}
{block title}{$report->getReason()}{/block}
{block header}
<a href="/admin/reports">Список репортов</a>
»
Жалоба №{$report->getId()}
{/block}
{block content}
<p><b>Комментарий: </b>{$report->getReason()}</p>
{include "../components/post/oldpost.xml", post => $report->getContentObject()}
<center>
2021-09-28 18:52:04 +03:00
<form action="/admin/reportAction{$report->getId()}" method="post">
2021-09-25 16:59:18 +03:00
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" name="ban" value="Забанить пользователя" class="button">
<input type="submit" name="delete" value="Удалить контент" class="button">
<input type="submit" name="ignore" value="Проигнорировать" class="button">
</form>
</center>
{/block}