Add helpers to init GlToggle instances
This adds a shared HAML partial as well as a Javascript that can be used to instantiate GlToggle instances in HAML views. The pages that render the partial must import the initToggle helper and call it with the appropriate DOM node.
Showing
Please register or sign in to comment