libs/web: use the value of the .enabled property in flag widget html