Add registration link to header

This commit is contained in:
Ryan Prather 2024-11-30 20:01:54 -05:00
parent 287376d078
commit 89599dda91

View File

@ -13,7 +13,8 @@
</span> </span>
</button> </button>
<div class="collapse navbar-collapse" id="navigation"> <div class="collapse navbar-collapse" id="navigation">
<ul class="navbar-nav mx-auto"> <ul
class="navbar-nav mx-auto">
<!-- @todo only display when logged in --> <!-- @todo only display when logged in -->
{% if app.user %} {% if app.user %}
<li class="nav-item"> <li class="nav-item">
@ -30,6 +31,12 @@
</li> </li>
{% endif %} {% endif %}
{% if not app.user %} {% if not app.user %}
<li class='nav-item'>
<a class='nav-link me-2' href='/index.php/register'>
<i class='fas fa-key opacity-6 text-dark me-1'></i>
Register
</a>
</li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link me-2" href="/index.php/"> <a class="nav-link me-2" href="/index.php/">
<i class="fas fa-key opacity-6 text-dark me-1"></i> <i class="fas fa-key opacity-6 text-dark me-1"></i>