Add frontend template for widget