9 lines
437 B
Twig
9 lines
437 B
Twig
{{ include('blog/_delete_post_confirmation.html.twig') }}
|
|
<form action="{{ url('admin_post_delete', {id: post.id}) }}" method="post" data-confirmation="true" id="delete-form">
|
|
<input type="hidden" name="token" value="{{ csrf_token('delete') }}" />
|
|
<button type="submit" class="btn btn-lg btn-block btn-danger">
|
|
<i class="fa fa-trash" aria-hidden="true"></i>
|
|
{{ 'action.delete_post'|trans }}
|
|
</button>
|
|
</form>
|