<%= link_to provider_admin_cms_switch_path(switch.name),
           id: "switch-#{switch.name}-toggle",
           data: { method: (switch.hidden? ? "put" : "delete"), remote: true, value: false },
           rel: "nofollow" do %>
   <ul class="slider">
     <% if switch.hidden? %>
       <li class="selected">Hidden</li>
       <li>||</li>
     <% else %>
       <li>||</li>
       <li class="selected">Visible</li>
     <% end %>
   </ul>
<% end %>
