Added trigger list to datapoint edit

This commit is contained in:
Magnus Åhall 2024-07-25 08:38:06 +02:00
parent d1599fe2b9
commit 8ef6a2bbfa
2 changed files with 32 additions and 0 deletions

View file

@ -46,6 +46,16 @@
<button id="button-update">Update</button>
{{ end }}
</div>
<div></div>
<div style="margin-top: 32px">
<b>Used in the following triggers:</b>
<ul>
{{ range .Data.Triggers }}
<li><a href="/trigger/edit/{{ .ID }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</div>
</form>
{{ end }}