refactored adminlist add/edit template (#14038)