aboutsummaryrefslogtreecommitdiff
path: root/cmd/monfront
diff options
context:
space:
mode:
authorGibheer <gibheer+git@zero-knowledge.org>2019-01-24 13:30:05 +0100
committerGibheer <gibheer+git@zero-knowledge.org>2019-01-24 13:30:05 +0100
commitb1746c6626ed5593f2a3ee83df1ae11d49afb217 (patch)
tree86831749d7ec5fb35f30972ed8853bf80b36f431 /cmd/monfront
parent80b7d7cbe4294399aa65f434065e043819be254f (diff)
monfront - fix check id variable name
The field name was wrong and therefore actions weren't completed and the redirect was wrong.
Diffstat (limited to 'cmd/monfront')
-rw-r--r--cmd/monfront/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/monfront/main.go b/cmd/monfront/main.go
index 605b4e7..ac9de17 100644
--- a/cmd/monfront/main.go
+++ b/cmd/monfront/main.go
@@ -759,7 +759,7 @@ var (
<content class="details">
{{ $mapping := .Mappings }}
{{ with .CheckDetails }}
- <input type="hidden" name="check_id" value="{{ .Id }}" />
+ <input type="hidden" name="checks" value="{{ .Id }}" />
<article class="detail">
<h1>check</h1>
<div><span class="label">current state</span><span class="value state-{{ .MappingId }}-{{ index .States 0 }}">{{ (index $mapping .MappingId (index .States 0) ).Title }}</span></div>