{{define "content"}} {{with .Data}} {{$e := .Errors}}
Reservations {{if not .LANs}}

No LAN serves DHCP; enable it on the Network page first.

{{end}} {{range $i, $r := .Rows}} {{range $f := list "lan" "name" "mac" "address"}}{{with index $e (printf "res[%d].%s" $i $f)}}{{end}}{{end}} {{end}}
LANNameMACAddressRemove
{{if $r.Name}}{{end}}
{{$f}}: {{.}}

Fill in the last row to add one. The name is also sent to the client and published in DNS. The address should be outside the pool.

Clients without a reservation

{{if .Clients}}
{{range .Clients}}{{end}}
NameAddressMACLAN
{{or .Hostname "–"}}{{.Address}}{{.MAC}}{{.LAN}} Reserve
{{else}}

No active leases.

{{end}}
{{end}} {{end}}