I would use the key in the array as the key to expect in the form, it is a bit more DRY and less confusing as I wondered myself what had the AddAction to do with 'edit' stuff