make form for editing a single category