mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix layout
This commit is contained in:
parent
aebea33718
commit
118bac0591
@ -85,17 +85,16 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<button class='pull-right btn btn-primary login-button' type="submit">{% trans "Login" %}</button>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
<button class='pull-right btn btn-primary login-button' type="submit">{% trans "Login" %}</button>
|
||||||
|
|
||||||
{% get_providers as socialaccount_providers %}
|
{% get_providers as socialaccount_providers %}
|
||||||
|
|
||||||
{% if socialaccount_providers %}
|
{% if socialaccount_providers %}
|
||||||
<h4>{% trans 'Login with provider' %}</h4>
|
<br><br>
|
||||||
{% for provider in socialaccount_providers %}
|
{% for provider in socialaccount_providers %}
|
||||||
{{ provider.name }}
|
<a class="btn btn-primary" href="{% provider_login_url provider.id %}">
|
||||||
<a class="btn btn-primary" href="{% provider_login_url 'github' %}">
|
|
||||||
{% blocktrans with name=provider.name %}Login with {{name}}{% endblocktrans%}
|
{% blocktrans with name=provider.name %}Login with {{name}}{% endblocktrans%}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user