Fix bug with template name
Add editor form.