Added a custom template for a panel