corrected the use of {% raw %} and {% endraw %} in the template forms