Simplified admin delete confirmation templates using {% elif %}.

Thanks jonash for the initial patch; refs #20133.