building edit post page