diff --git a/opentech/apply/users/templates/users/login.html b/opentech/apply/users/templates/users/login.html index e21c2109296b77f34e04dcc3d2ef0c889858f42d..201f54e6dbd69dacdac9a097b83ea3308d3a91d5 100644 --- a/opentech/apply/users/templates/users/login.html +++ b/opentech/apply/users/templates/users/login.html @@ -58,12 +58,16 @@ </p> {% endif %} - {% include "two_factor/_wizard_actions.html" %} + <div class="wrapper wrapper--inner-space-large"> + {% include "two_factor/_wizard_actions.html" %} + </div> {% endif %} </form> - <div class="wrapper wrapper--inner-space-large"> - <a class="link link--button link--button-long-text" href="{% url "social:begin" "google-oauth2" %}{% if next %}?next={{ next }}{% endif %}">Log in with your OTF email</a> - </div> + {% if wizard.steps.current == 'auth' %} + <div class="wrapper wrapper--inner-space-large"> + <a class="link link--button link--button-long-text" href="{% url "social:begin" "google-oauth2" %}{% if next %}?next={{ next }}{% endif %}">Log in with your OTF email</a> + </div> + {% endif %} </div> {% endblock %}