s.devices.total (len .results.devices.data) }}
                        <div class="text-center mt-3">
                            <a href="/devices?q={{ .query }}" class="btn btn-sm btn-outline-primary">
                                View all {{ .results.devices.total }} devices
                            </a>
                        </div>
                        {{ end }}
                    {{ else }}
                        <p class="text-muted">No devices found</p>
                    {{ end }}
    