Fix the generation of the folder edit form.