Generic jQuery plugin template for building pickers using Bootstrap popovers