Replaced the HTML in template with custom widget