created partial form for category edit and new templates