2019-12-28 15:43:20 +10:00
|
|
|
<nav id="navbarMenu" class="navbar navbar-expand-lg navbar-light bg-light navbarMenuWrapper col-sm-12 collapse navbar-collapse">
|
|
|
|
<div class="col-sm-8 offset-md-2" id="navbarSupportedContent">
|
2019-12-26 13:23:21 +10:00
|
|
|
<ul class="navbar-nav mr-auto">
|
|
|
|
<li class="nav-item {{#unless searchTerm}}active{{/unless}}"><a class="nav-link" href="/">Home</a></li>
|
|
|
|
{{#each menu.items}}
|
|
|
|
<li class="nav-item"
|
|
|
|
{{#menuMatch this.title @root.searchTerm}}{{/menuMatch}}
|
|
|
|
{{#menuMatch this.title @root.title}}{{/menuMatch}}>
|
|
|
|
<a class="nav-link" href="{{this.link}}">{{this.title}}</a>
|
2018-02-12 05:47:26 +10:00
|
|
|
</li>
|
2019-12-26 13:23:21 +10:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
<form class="form-inline ml-auto">
|
|
|
|
<input class="form-control mr-sm-2" name="frm_search" id="frm_search" type="search" placeholder="Search shop" aria-label="Search">
|
|
|
|
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">{{ @root.__ "Search" }}</button>
|
|
|
|
</form>
|
2018-02-12 05:47:26 +10:00
|
|
|
</div>
|
|
|
|
</nav>
|