Fix block overwrite issue for navbar

This commit is contained in:
Jan Eitzinger 2022-02-03 07:25:02 +01:00
parent 7c901a57f9
commit 221fe54545
2 changed files with 24 additions and 23 deletions

View File

@ -69,7 +69,6 @@
{{end}}
{{end}}
</ul>
{{end}}
{{if .Infos.username }}
<div class="d-flex align-items-end">
<ul class="navbar-nav ml-auto">
@ -92,6 +91,7 @@
</form>
</div>
{{end}}
{{end}}
</div>
</nav>
</header>

View File

@ -1,4 +1,5 @@
{{define "navigation"}}
{{""}}
{{end}}
{{define "content"}}
@ -32,7 +33,7 @@
<label class="form-label" for="password">Password</label>
<input class="form-control" type="password" id="password" name="password" required/>
</div>
<button type="submit" class="btn btn-success">Login</button>
<button type="submit" class="btn btn-success">Submit</button>
</form>
</div>
</div>