you need to merge the class with the wiget_container_attributes defintion. because the ``widget_container_attributes`` can render a class tag.