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