{% extends extend_template %} {% load i18n %} {% block heading %} {% trans "Login Required" %} {% endblock %} {% block header %} <div class="mm_box mm_clear"> <div class="mm_boxHeader">{% trans "Loginform" %}</div> <form action="" method="post" class="login"> {{ form.as_div }} <div class="field"> <button type="submit">{% trans "Login" %}</button> </div> </form> </div> {% endblock %}