Tab 'Block Lists': remove div element inside of table

This commit is contained in:
TheME
2017-11-02 21:24:41 +01:00
committed by GitHub
parent 682227d64e
commit 36363ca243
+2 -4
View File
@@ -266,8 +266,7 @@ if (in_array($_GET['tab'], array("sysadmin", "blocklists", "dns", "piholedhcp",
</tr>
</thead>
<tbody>
<?php foreach ($adlist as $key => $value) { ?>
<div class="form-group">
<?php foreach ($adlist as $key => $value) { ?>
<tr>
<td>
<input type="checkbox" name="adlist-enable-<?php echo $key; ?>" <?php if ($value[0]){ ?>checked<?php } ?>>
@@ -282,8 +281,7 @@ if (in_array($_GET['tab'], array("sysadmin", "blocklists", "dns", "piholedhcp",
<input type="checkbox" name="adlist-del-<?php echo $key; ?>" hidden>
</td>
</tr>
</div>
<?php } ?>
<?php } ?>
</tbody>
</table>
</div>