if ($('#edit-simplesamlphp-auth-login-link').length)
{
// Hide the normal login form.
if ($('#edit-simplesamlphp-auth-login-link').length){
// Hide the normal login form.
$('#user-login-form').css('display','none');
// Add buttons (using JS because they don't work without JS)
$('#user-login-form').after('<button id="adfs-login-link" class="button--primary">Log in via ADFS</button> <button id="local-login-link" class="button--medium">Log in locally</button>');