code prettify and fix get/post in template