fix layout

This commit is contained in:
Matthias 2021-08-25 00:08:50 +02:00
parent aebea33718
commit 118bac0591
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -85,17 +85,16 @@
</div>
{% endif %}
<button class='pull-right btn btn-primary login-button' type="submit">{% trans "Login" %}</button>
<hr>
<button class='pull-right btn btn-primary login-button' type="submit">{% trans "Login" %}</button>
{% get_providers as socialaccount_providers %}
{% if socialaccount_providers %}
<h4>{% trans 'Login with provider' %}</h4>
<br><br>
{% for provider in socialaccount_providers %}
{{ provider.name }}
<a class="btn btn-primary" href="{% provider_login_url 'github' %}">
<a class="btn btn-primary" href="{% provider_login_url provider.id %}">
{% blocktrans with name=provider.name %}Login with {{name}}{% endblocktrans%}
</a>
{% endfor %}