I have a view blade with the following structure:
@forelse($posts as $p)
<tr>
<td><a href="/post/{{ $p->id }}">{{ $p->titulo }}</a></td>
<td>{{ $p->status_mutator }}</td>
<td>{{ $p->user->name }}</td>
<td>{{ $p->created_at->format('d/m/Y à\s H:i:s')}}</td>
<td>
<a href="/painel/post/{{ $p->id }}/edit">Editar</a> /
<a href="/painel/post/{{ $p->id }}">Excluir</a>
</td>
</tr>
@empty
<tr>
<td colspan="5">Não existem posts para serem listados</td>
</tr>
@endforelse
But my route uses the resource structure, that is, I have to submit the Delete option via DELETE method. Any ideas how to do this?