%} {% load staticfiles %} <html> <head> <title>{% trans "Hello You!" %}</title> ... </head> <body> <form action='sayhello/' method='post'>{% csrf_token %} <label>{% trans "Your name" %}</label> <input type="text" id="name"/ name="name"> </form> … <button type="button" id="submit">{% trans "submit" %}</button> <div id="result"></div> <body> </html>