Skip to content

Commit

Permalink
Add social account sign in template
Browse files Browse the repository at this point in the history
  • Loading branch information
dmptrluke committed Dec 11, 2023
1 parent 12b2219 commit ef7dd07
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions apps/accounts/templates/socialaccount/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{% extends "base.html" %}
{% load crispy_forms_filters %}

{% block title %}Sign In{% endblock %}

{% block content %}
<h1>Sign In</h1>
{% if process == "connect" %}
<h1>{% blocktrans with provider.name as provider %}Connect {{ provider }}{% endblocktrans %}</h1>

<p>{% blocktrans with provider.name as provider %}You are about to connect a new third party account from {{ provider }}.{% endblocktrans %}</p>
{% else %}
<h1>{% blocktrans with provider.name as provider %}Sign In Via {{ provider }}{% endblocktrans %}</h1>

<p>{% blocktrans with provider.name as provider %}You are about to sign in using a third party account from {{ provider }}.{% endblocktrans %}</p>
{% endif %}

<form method="post">
{% csrf_token %}
<button type="submit">{% trans "Continue" %}</button>
</form>
{% endblock content %}

0 comments on commit ef7dd07

Please sign in to comment.