change get to post in template