DiverseYouthNightSchool/application/admin/command/Crud/stubs/html/switch.stub

5 lines
350 B
Plaintext
Raw Permalink Normal View History

2024-11-04 10:49:10 +08:00
<input {%attrStr%} name="{%fieldName%}" type="hidden" value="{%fieldValue%}">
<a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-{%field%}" data-yes="{%fieldYes%}" data-no="{%fieldNo%}" >
<i class="fa fa-toggle-on text-success {%fieldSwitchClass%} fa-2x"></i>
</a>