{{define "body" -}}
<h3>Delete {{.Peer.Name}}</h3>

{{with .Peer -}}
<form method="POST">
  <input type="hidden" name="CSRF" value="{{$.Session.CSRF}}">
  <input type="hidden" name="NetworkID" value="{{.NetworkID}}">
  <input type="hidden" name="NetworkID" value="{{.PeerIP}}">
  <p>
    <button type="submit">Delete</button>
    <a href="/admin/peer/view/?PeerIP={{.PeerIP}}&NetworkID={{.NetworkID}}">Cancel</a>
  </p>
</form>
{{- end}}
{{- end}}
