File tree 2 files changed +22
-2
lines changed
2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1
- {% extends "base /base-full .html" %}
1
+ {% extends "account /base.html" %}
2
2
{% load base_tags %}
3
3
{% load socialaccount %}
4
4
11
11
{% translate "Sign In" %}
12
12
{% endblock head_title %}
13
13
14
- {% block main- content-body %}
14
+ {% block content %}
15
15
16
16
{% block inner %}
17
17
< h1 > {% translate "Sign In" %}</ h1 >
Original file line number Diff line number Diff line change
1
+ {% extends "account/base.html" %}
2
+
3
+ {% load i18n %}
4
+
5
+ {% block head_title %}
6
+ {% translate "Sign Out" %}
7
+ {% endblock head_title %}
8
+ {% block inner %}
9
+ < h1 > {% translate "Sign Out" %}</ h1 >
10
+ < p > {% translate "Are you sure you want to sign out?" %}</ p >
11
+ < form method ="post " action ="{% url 'account_logout' %} ">
12
+ {% csrf_token %}
13
+ {% if redirect_field_value %}
14
+ < input type ="hidden "
15
+ name ="{{ redirect_field_name }} "
16
+ value ="{{ redirect_field_value }} " />
17
+ {% endif %}
18
+ < button class ="btn btn-danger " type ="submit "> {% translate "Sign Out" %}</ button >
19
+ </ form >
20
+ {% endblock inner %}
You can’t perform that action at this time.
0 commit comments