ntopng/httpdocs/templates/on_off_switch.html

6 lines
334 B
HTML

<div class="form-group mb-3">
<div class="form-check form-switch">
<label class="{* label_class or "" *}" for="{* id *}">{* label or "" *}</label> {* icon or "" *}
<input id="{* id *}" class="form-check-input" type="checkbox" name="{* id *}" value="{* value or 1 *}" {% if checked then %} checked {% end %}>
</div>
</div>