<% use crate::components::inputs::switch::State; %>
<div data-controller="inputs-switch"
  class="switch-container d-flex flex-row"
  data-action='click->inputs-switch#toggle <% for action in on_toggle { %> toggle-><%- action %> <% } %> reset->inputs-switch#reset'
  data-inputs-switch-left-value="<%- left_value %>"
  data-inputs-switch-left-icon-value="<%- left_icon %>"
  data-inputs-switch-right-value="<%- right_value %>"
  data-inputs-switch-right-icon-value="<%- right_icon %>"
  data-inputs-switch-initia