Skip to content

Commit 2e51c20

Browse files
author
thom
committed
Fix checkbox (#4592)
1 parent 269542c commit 2e51c20

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

interface/web/dns/templates/dns_dmarc_edit.htm

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<select name="dmarc_sp" id="dmarc_sp" class="form-control">{tmpl_var name='dmarc_sp'}</select>
130130
</div>
131131
</div>
132-
132+
133133
<div class="form-group">
134134
<label for="ttl" class="col-sm-2 control-label">{tmpl_var name='ttl_txt'}</label>
135135
<div class="col-sm-3">
@@ -140,7 +140,7 @@
140140
<div class="form-group">
141141
<label class="col-sm-2 control-label">{tmpl_var name='active_txt'}</label>
142142
<div class="col-sm-3">
143-
{tmpl_var name='active'}
143+
<input type="checkbox" value="1" id="active" name="active" {tmpl_var name='active'} />
144144
</div>
145145
</div>
146146

@@ -149,9 +149,8 @@
149149
<input type="hidden" name="type" value="{tmpl_var name='type'}">
150150
<input type="hidden" name="name" value="{tmpl_var name='name'}">
151151
</div>
152-
152+
153153
<div class="clear"><div class="right">
154154
<button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="dns/dns_dmarc_edit.php">{tmpl_var name='btn_save_txt'}</button>
155155
<button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="dns/dns_soa_edit.php?id={tmpl_var name='zone'}">{tmpl_var name='btn_cancel_txt'}</button>
156156
</div></div>
157-

0 commit comments

Comments
 (0)