cartodb-4.42/lib/assets/javascripts/builder/components/toggler/toggler.tpl
2024-04-06 05:25:13 +00:00

8 lines
430 B
Smarty
Executable File

<div class="CDB-Text CDB-Size-small is-semibold u-rSpace--xl<% if (disabled) { %> is-disabled<% } %>">
<label class="u-iBlock u-upperCase"><%- labels[0] %></label>
<input class="CDB-Toggle u-iBlock js-input" type="checkbox"
<% if (disabled) { %> disabled<% } %>
<% if (checked) { %> checked <% } %> >
<span class="u-iBlock CDB-ToggleFace"></span>
<label class="u-iBlock u-upperCase"><%- labels[1] %></label>
</div>