[manage] Refactor edit/create form.