that's better

This commit is contained in:
Yiğit Kerem Oktay 2020-08-17 17:32:05 +03:00 committed by GitHub
parent 675662db12
commit e419dc31e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ class Template{
public static function render_toggle($toggletext,$input_name,$checked=false){
?>
<div>
<p><?php echo $toggletext; ?></p>
<h3><?php echo $toggletext; ?></h3>
<label class="switch">
<input type="checkbox" name="<?php echo $input_name; ?>" <?php if($checked){ echo $checked; } ?> >
<span class="slider round"></span>