layout form class