remove addtoblock and renderblock (fixes #25574)

This commit is contained in:
Benjamin Dauvergne 2018-08-02 18:19:27 +02:00
parent 7aeadc48ef
commit eaad38aa41
4 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{% extends "../../authentic2/base.html" %}
{% load staticfiles authentic2 %}
{% load staticfiles %}
{% block nav %}
<div id="nav"></div>
@ -10,12 +10,9 @@
{% endblock %}
{% block extra_scripts %}
{% endblock %}
{% renderblock "css" %}
{% renderblock "js" %}
{{ form.media }}
{% endblock %}
{% block footer-bottom %}
{{ block.super }}
{% renderblock "js-endpage" %}
{% endblock %}

View File

@ -1,4 +1,4 @@
{% load i18n authentic2 staticfiles %}
{% load i18n staticfiles %}
{% block content %}
<div>
<form method="post" action="">
@ -21,4 +21,4 @@
</div>
{% endblock %}
{% addtoblock "js-endpage" %}<script type="text/javascript" src="{% static "authentic2/js/js_seconds_until.js" %}"></script>{% endaddtoblock %}
{{ form.media }}

View File

@ -1,5 +1,4 @@
{% load staticfiles %}
{% load authentic2 %}
{% load i18n %}
{% if 'nofc' not in request.GET %}

View File

@ -1,5 +1,5 @@
{% extends "authentic2_auth_fc/base.html"%}
{% load staticfiles authentic2 %}
{% load staticfiles %}
{% load i18n %}
{% block content %}