def label_for(label, link, is_nested = false, options = {})
          if label.present?
            label = @context.instance_exec(label, options, !!link, is_nested, &@config.label_generator).html_safe
          end
          label = @context.instance_exec(label, link, options.delete(:link_html) || {}, is_nested, &@config.link_generator).html_safe if link