Remove this custom template logic

Does not work with recent Laravel version anymore.