Skip to content

Commit 42b28e6

Browse files
committed
Add Privacy Policy link to Login page template
1 parent df1dd35 commit 42b28e6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Templates/User/Login.phtml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php /* vim: set colorcolumn= expandtab shiftwidth=2 softtabstop=2 tabstop=4 smarttab: */
22
namespace BNETDocs\Templates\User;
3+
use \BNETDocs\Libraries\Core\UrlFormatter;
34
use \BNETDocs\Models\User\Login as LoginModel;
45
$title = 'Account Login';
56
$description = 'This form enables a user to log in to their account.';
@@ -26,6 +27,7 @@ require('./Includes/header.inc.phtml'); ?>
2627
<div class="row"><div class="card mx-auto justify-content-center">
2728
<h3 class="card-header text-center"><?=$title?></h3>
2829
<div class="card-body">
30+
<p class="text-muted">By logging in, you agree to our <a href="<?=UrlFormatter::format('/privacy')?>">Privacy Policy</a>.</p>
2931
<? if (!empty($message)) { ?>
3032
<div class="alert alert-danger"><p class="mb-0"><?=$message?></p></div>
3133
<? } ?>
@@ -38,8 +40,10 @@ require('./Includes/header.inc.phtml'); ?>
3840
<input class="bg-dark border border-primary form-control text-light" type="password" name="password" id="password" placeholder="Enter the password here" value="" tabindex="2"/>
3941
</div>
4042
<p class="text-muted">Session lifetime is 1 month.</p>
41-
<input class="btn btn-success" type="submit" value="Log In" tabindex="3"/>
42-
<a class="btn btn-primary" href="<?=\BNETDocs\Libraries\Core\UrlFormatter::format('/user/resetpassword')?>" tabindex="4">Recover Password</a>
43+
<div class="form-group">
44+
<input class="btn btn-success" type="submit" value="Log In" tabindex="3"/>
45+
<a class="btn btn-primary" href="<?=UrlFormatter::format('/user/resetpassword')?>" tabindex="4">Recover Password</a>
46+
</div>
4347
</div></div></div>
4448
</form>
4549
<? } else { ?>

0 commit comments

Comments
 (0)