Add new prepare_form method for FormView