Files
pcinv/templates/delete.gohtml

10 lines
354 B
Plaintext

{{- /*gotype: pcinv.DeleteVM*/ -}}
{{define "delete"}}
{{template "header" "Delete Device"}}
<h2>Are you sure you want to delete this device?</h2>
<form id="confirmForm" method="post" action="/delete?id={{.Qr}}"></form>
<a href="/device?id={{.Qr}}"><button><b>No</b></button></a>
<button form="confirmForm">Yes</button>
{{template "footer"}}
{{end}}