Layout edit category e base repository