Better way to display teacher details

for add and edit teacher