change template route path
changed routes to resources
added textarea for the template value editing.
remove textarea css
cleaned up template html
added template controller