add class name addition logic for form groups for bootstrap theme