mirror of
https://github.com/cuigh/swirl
synced 2025-01-31 06:47:11 +00:00
Optimize style
This commit is contained in:
parent
a60d2d39c1
commit
adcdaaf3be
@ -22,10 +22,12 @@
|
||||
{{ block form_network() }}
|
||||
<div class="field">
|
||||
<label class="label">Network</label>
|
||||
<div class="control">
|
||||
<div class="control columns is-mobile is-multiline is-tight">
|
||||
{{ set := .CheckedNetworks }}
|
||||
{{range .Networks}}
|
||||
<div class="column is-one-third-desktop is-half-tablet is-half-mobile">
|
||||
{{ yield checkbox(name="networks", value=.Name, label=.Name, checked=set.Contains(.Name)) }}
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user