applied text_main class to form and table