restyle new and edit variable page