Added edit template panel and preview template panel.