{{ if .error }}
                
    {{.error}}
            {{ end}}
            
                {{ range $idx, $host := .hosts }}
                    {{- /*gotype: github.com/ngoduykhanh/wireguard-ui/model.WakeOnLanHost*/ -}}
                    
                        
                            
                                
                                    
                                    
                                    
                                
                                
{{ .Name }} {{ .MacAddress }} {{ if .LatestUsed }} {{ .LatestUsed.Format "2006-01-02T15:04:05Z07:00"}} {{ else }} Unused {{ end }}
                        
                    
                {{ end }}
            
        {{ .Name }} {{ .MacAddress }} {{ if .LatestUsed }} {{ .LatestUsed.Format "2006-01-02T15:04:05Z07:00"}} {{ else }} Unused {{ end }}