Finishing touches on edit.php