Show correct date field in edit template