{{define "content"}} {{with .Data}} {{if .Diff}}

The saved settings differ from the confirmed (running) ones: - lines go away, + lines are new. Nothing is applied until you press Apply.

{{.Diff}}
{{else}}

No changes: the saved settings are the confirmed ones.

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