<td>
  <div style="display:flex;gap:4px;flex-wrap:wrap">
    <a href="{{ url('admin/series/'.$seriesId.'/seasons/'.$seasonId.'/episodes/'.$episode->id.'/edit') }}" class="btn btn-sm btn-primary">Edit</a>
    <form action="{{ route('admin.episodes.delete', [$seriesId, $seasonId, $episode->id]) }}" method="POST"
          onsubmit="return confirm('Delete this episode?')">
      @csrf @method('DELETE')
      <button type="submit" class="btn btn-sm btn-danger">Delete</button>
    </form>
  </div>
</td>
