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

View File

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