mirror of
https://github.com/cuigh/swirl
synced 2024-12-30 15:53:24 +00:00
Fix mount’s read-only attr when editing service
This commit is contained in:
parent
a5129ff188
commit
6dfb22dd11
@ -194,7 +194,7 @@
|
||||
<td><input name="mounts[{{i}}].dst" value="{{m.Target}}" class="input is-small" placeholder="path in container"></td>
|
||||
<td>
|
||||
<div class="select is-small">
|
||||
{{ yield select(name="mounts["+i+"].read_only", values=slice("false", "true"), labels=slice("No", "Yes"), selected=m.Type, dt="bool") }}
|
||||
{{ yield select(name="mounts["+i+"].read_only", values=slice("false", "true"), labels=slice("No", "Yes"), selected=m.ReadOnly, dt="bool") }}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
|
Loading…
Reference in New Issue
Block a user