switch from input to div as base element for w- directives