2
I’m having trouble allocating a search box on bootstrap. I’m trying to allocate it to navbar
standard, top right aligned. My intention is that at each screen, I can modify the parameters for the field to work with each type of search like: product, category.
My View Index
category
<div class="navbar navbar-header navbar-fixed-top">
<div class="container">
<div class="navbar-collapse collapse">
<div class="nav navbar-nav navbar-right">
<form role="search" class="navbar-form">
<div class="form-group has-feedback">
<input type="text" class="form-control" placeholder="Procurar" />
<span class="form-control-feedback glyphicon glyphicon-search"></span>
</div>
</form>
</div>
</div>
</div>
This way, I can’t use the other "buttons" of navbar
bootstrap standard.
I’m using ASP . NET MVC bootstrap.
Thank you very much for your help, but that’s not what I want. Since I’m using Asp net, this code you sent would be on _Layout.cshtml. I really wish I could put this search box using another view.
– Iago Frota