How can I switch my form to the card layout?