[BUG #7710] Allow widget configuration using data attributes
minor style tweak