jQuery(function($){
$(document).on('click', '.toggle-persist button', function() {
var toggle_group = $(this).parents('[data-remote-href]').first();
jQuery(function($){
$(document).on('click', '.toggle-persist button', function() {
var toggle_group = $(this).parents('[data-remote-href]').first();