diff options
Diffstat (limited to 'templates/registration')
-rw-r--r-- | templates/registration/login.html | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html index 9ed5ac4..c9b5362 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -39,20 +39,22 @@ <br> <button class="btn waves-effect waves-light {{color}}" type="submit">Login</button> <br><br><hr><br> - <div class="row"> - <div class="col s12"> - <a href="{% url 'oauth_login' %}?next={{ request.GET.next }}" style="width: 100%; background-color: #99BF62" class="btn waves-effect waves-light"> - <div class="row"> - <div class="col s2"> - <img style="height: 30px; padding-top: 3px" src="{% static 'pbs_logo.svg' %}" alt="PBS Logo"> - </div> - <div class="col s10"> - Login con MiData + {% if midata_enabled %} + <div class="row"> + <div class="col s12"> + <a href="{% url 'oauth_login' %}?next={{ request.GET.next }}" style="width: 100%; background-color: #99BF62" class="btn waves-effect waves-light"> + <div class="row"> + <div class="col s2"> + <img style="height: 30px; padding-top: 3px" src="{% static 'pbs_logo.svg' %}" alt="PBS Logo"> + </div> + <div class="col s10"> + Login con MiData + </div> </div> - </div> - </a> + </a> + </div> </div> - </div> + {% endif %} <div class="row"> <div class="col s12"> <a href={% url 'signup' %} style="width: 100%" class="btn waves-effect waves-light {{color}}"> |