Main history edit layout