Sid Gifari File Manager
🏠 Root
/
home
/
caldereriajp
/
www
/
wp-content
/
plugins
/
robo-gallery
/
app
/
extensions
/
fields
/
template
/
field
/
custom
/
Editing: c2.tpl.php
<div class="field small-2 columns"> <div class="switch-element"> <?php if ($label) : ?> <p><?php echo $label; ?></p> <?php endif; ?> <div id="field-element-<?php echo $id; ?>" class="switch <?php echo $options['size']; ?>"> <input id="<?php echo $id; ?>" class="switch-input" type="checkbox" name="<?php echo $name; ?>" value="1" <?php echo $value ? 'checked' : '' ?> data-dependents='<?php echo $dependents; ?>' > <label class="switch-paddle" for="<?php echo $id; ?>"> <span class="switch-active" aria-hidden="true"> <?php echo $options['onLabel']; ?> </span> <span class="switch-inactive" aria-hidden="true"> <?php echo $options['offLabel']; ?> </span> </label> </div> <?php if ($description) : ?> <p class="help-text"><?php echo $description; ?></p> <?php endif; ?> </div> </div>
Save
Cancel