Commit 20971810 authored by Thomas Löffler's avatar Thomas Löffler

Show "forgot password" and "sign up" link only if url given

parent 5e4e917f
......@@ -37,7 +37,7 @@
isEmpty(document.getElementById('login-pass'));
}
//</f:format.cdata>
</script>
......@@ -59,9 +59,13 @@
<i class="form-control__icon fa fa-key" aria-hidden="true"></i>
</div>
<div class="d-flex justify-content-end align-items-center form-nav">
<a href="{f:cObject(typoscriptObjectPath: 'lib.forgotPasswordPageURL')}" class="small">Forgot password?</a>
<f:if condition="{f:cObject(typoscriptObjectPath:'lib.forgotPasswordPageURL')}">
<a href="{f:cObject(typoscriptObjectPath:'lib.forgotPasswordPageURL')}" class="small">Forgot password?</a>
</f:if>
<button type="submit" class="btn btn-outline-light btn-lg">Login</button>
<a href="{f:cObject(typoscriptObjectPath: 'lib.signUpPageURL')}" class="btn btn-outline-light btn-lg">Sign up</a>
<f:if condition="{f:cObject(typoscriptObjectPath:'lib.signUpPageURL')}">
<a href="{f:cObject(typoscriptObjectPath:'lib.signUpPageURL')}" class="btn btn-outline-light btn-lg">Sign up</a>
</f:if>
</div>
</form>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment