myaac/system/templates/guilds.delete_invite.html.twig
slawkens 84d502bf10 Fixes regarding csrf + refactor some parts of AAC (guilds + forum)
Replace $account_logged->getPlayers() with getPlayersList()
$_REQUEST['todo'] -> $_REQUEST['post']
$guild_errors -> $errors
2025-05-24 11:42:42 +02:00

26 lines
887 B
Twig

{% set title = 'Delete player invitation' %}
{% set description = 'Are you sure you want to delete player with name <b>' ~ player_name ~ '</b> from "invites list"?' %}
{% set custom_buttons = '' %}
{{ include('success.html.twig') }}
<br/>
<div style="text-align:center">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="right" width="50%">
<form action="{{ getLink('guilds') }}?action=delete_invite&guild={{ guild_name }}&name={{ player_name }}" method="post">
{{ csrf() }}
<input type="hidden" name="todo" value="save" />
{{ include('buttons.submit.html.twig') }}
</form>
</td>
<td style="width: 10px; "></td>
<td>
<form action="{{ getLink('guilds') }}?action=show&guild={{ guild_name }}" method="post">
{{ csrf() }}
{{ include('buttons.back.html.twig') }}
</form>
</td>
</tr>
</table>
</div>