DRY up response new/edit templates