move editor to layout.erb
remove layout
merge