fix wrong variable

This commit is contained in:
Ibnu Maksum
2024-06-21 09:44:49 +07:00
parent 628fcda360
commit d11b2a75ef
7 changed files with 29 additions and 25 deletions

View File

@ -51,7 +51,7 @@
<label class="col-md-2 control-label">Radius
<a tabindex="0" class="btn btn-link btn-xs" role="button" data-toggle="popover"
data-trigger="focus" data-container="body"
data-content="If you enable Radius, choose device to radius, except if you have custome device">?</a>
data-content="If you enable Radius, choose device to radius, except if you have custom device. *This option will be deleted and replaced by Device">?</a>
</label>
<div class="col-md-10">
<label class="label label-primary">RADIUS</label>
@ -144,7 +144,8 @@
</label>
<div class="col-md-6">
<input type="number" class="form-control" name="expired_date" maxlength="2"
value="{$d['expired_date']}" min="1" max="28" step="1">
value="{if $d['expired_date']}{$d['expired_date']}{else}20{/if}" min="1" max="28"
step="1">
</div>
</div>
<div class="form-group">