Add dependency for CategoryPlace on existence of Category and Place
Move add and edit form into partial