reformatted the card form with form_tag and hidden values