Added ERB support to widget