{{#if showLabels}}
	<span class="toggle-text toggle-prefix {{size}}">
		{{offLabel}}
	</span>
{{/if}}

{{input id=forId type='checkbox' checked=toggled class='x-toggle' disabled=disabled}}

<label class="x-toggle-btn {{themeClass}} {{size}} {{if disabled 'x-toggle-disabled'}}"
  for={{forId}}
  data-tg-off={{offLabel}}
  data-tg-on={{onLabel}}>
</label>

{{#if showLabels}}
	<span class="toggle-text toggle-postfix {{size}}">
		{{onLabel}}
	</span>
{{/if}}

{{#if showLabels}}
	<span class="toggle-text toggle-prefix {{size}}">
		{{offLabel}}
	</span>
{{/if}}

{{input id=forId type='checkbox' checked=toggled class='x-toggle' disabled=disabled name=name}}

<label class="x-toggle-btn {{themeClass}} {{size}} {{if disabled 'x-toggle-disabled'}}"
  for={{forId}}
  data-tg-off={{offLabel}}
  data-tg-on={{onLabel}}>
</label>

{{#if showLabels}}
	<span class="toggle-text toggle-postfix {{size}}">
		{{onLabel}}
	</span>
{{/if}}

Add name to actual input
Add name to actual input