add template files and compose file, fix syntax errors in template
This commit is contained in:
4
Views/template/logoutButton.phtml
Normal file
4
Views/template/logoutButton.phtml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php echo "<p class='nav-link m-2' style='color: black;'>" . $user->getUsername() . " is logged in.</p>"?>
|
||||
<form class="form-inline my-2 my-lg-0" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?> ">
|
||||
<input class="btn bg-danger btn-outline-danger text-light" type="submit" name="logoutButton" value="Logout">
|
||||
</form>
|
||||
Reference in New Issue
Block a user