Add capacities, share view between new and edit