mirror of
https://github.com/cuigh/swirl
synced 2025-02-06 21:08:15 +00:00
Using network name instead of id
This commit is contained in:
parent
d595547803
commit
de811b1b1c
@ -25,7 +25,7 @@
|
||||
<div class="control">
|
||||
{{ set := .CheckedNetworks }}
|
||||
{{range .Networks}}
|
||||
{{ yield checkbox(name="networks", value=.ID, label=.Name, checked=set.Contains(.Name)) }}
|
||||
{{ yield checkbox(name="networks", value=.Name, label=.Name, checked=set.Contains(.Name)) }}
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user