Separate core from dashboard

This commit is contained in:
R. Miles McCain
2020-04-14 10:31:13 -04:00
parent 3df754f54b
commit a81e98f809
63 changed files with 209 additions and 192 deletions

View File

@@ -0,0 +1,18 @@
{% extends "account/base.html" %}
{% load i18n a17t_tags %}
{% block head_title %}{% trans "Sign Out" %}{% endblock %}
{% block page_title %}{% trans "Sign Out" %}{% endblock %}
{% block card %}
<p>{% trans 'Are you sure you want to sign out?' %}</p>
<form method="post" action="{% url 'account_logout' %}" class="max-w-lg">
{% csrf_token %}
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
{% endif %}
<button type="submit" class="button ~neutral !high">{% trans 'Sign Out' %}</button>
</form>
{% endblock %}