templates: add static placholders to login and logged-out pages
This commit is contained in:
parent
9d315b2740
commit
54167eb122
|
@ -0,0 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n cms_tags %}
|
||||
{% block content %}
|
||||
<p>
|
||||
{% static_placeholder "logged-out" %}
|
||||
</p>
|
||||
{% endblock %}
|
|
@ -1,11 +1,17 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
{% load i18n cms_tags %}
|
||||
{% block content %}
|
||||
<p>
|
||||
<p>
|
||||
{% static_placeholder "login-top" %}
|
||||
</p>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
<input type="submit" value="{% trans "Log in" %}">
|
||||
</form>
|
||||
<p>
|
||||
{% static_placeholder "login-bottom" %}
|
||||
</p>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
Reference in New Issue