mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-01 06:46:49 -04:00
# Conflicts: # dist/clay.js # src/styles/clay/_base.scss # src/templates/components/select.tpl # src/templates/components/toggle.tpl
20 lines
509 B
Smarty
Executable File
20 lines
509 B
Smarty
Executable File
<div class="component component-toggle">
|
|
<label class="tap-highlight">
|
|
<span class="label">{{{label}}}</span>
|
|
<span class="input">
|
|
<input
|
|
data-manipulator-target
|
|
type="checkbox"
|
|
{{each key: attributes}}{{key}}="{{this}}"{{/each}}
|
|
/>
|
|
<span class="graphic">
|
|
<span class="slide"></span>
|
|
<span class="marker"></span>
|
|
</span>
|
|
</span>
|
|
</label>
|
|
{{if description}}
|
|
<div class="description">{{{description}}}</div>
|
|
{{/if}}
|
|
</div>
|