How to convert forms to card?