Factored out CardForm