Compress crypt bug

This commit is contained in:
刘河
2019-03-04 13:41:20 +08:00
parent ad22ada1f1
commit 0d257a95dd
2 changed files with 12 additions and 9 deletions

View File

@@ -70,8 +70,8 @@
<label class="control-label col-sm-2">crypt</label>
<div class="col-sm-10">
<select class="form-control" name="crypt">
<option {{if eq false .c.Cnf.Compress}}selected{{end}} value="0">no</option>
<option {{if eq true .c.Cnf.Compress}}selected{{end}} value="1">yes</option>
<option {{if eq false .c.Cnf.Crypt}}selected{{end}} value="0">no</option>
<option {{if eq true .c.Cnf.Crypt}}selected{{end}} value="1">yes</option>
</select>
</div>
</div>