allow index templates to generate multiple widgets as defined by the decorator