changing 'style' to 'form_style' and fixing more misuse of 'attr'