Ability to set custom template for pagination