Extract out partial templates from prose/edit template file
Added partials.
Cleaning up.
Fix bugs with View restoration