2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 03:55:41 +00:00

fix layout

This commit is contained in:
Matthias
2021-08-25 00:08:50 +02:00
parent aebea33718
commit 118bac0591

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 %}