It should be simple but I can't see the problem. I'm building a page like menu in the center and a search box with icon on the right side, I'm using keystonejs, pugjs and bootstrap. Here's the problematic part of code:
div(style='margin-top:60px; width:1000px')
row
div.col-md-2.col-md-offset-4.text-left
a(href='/keystone') Hommes
div.col-md-2
a(href='/keystone') Femmes
div.col-md-2.text-right
a(href='/keystone') Enfants
div.form-group.col-md-1.col-md-offset-1
div.form-group.has-feedback
input(class='form-control', type='text', id='search-addon')
i(class='glyphicon glyphicon-search form-control-feedback')
it compiles in:
<div style="margin-top:60px; width:1000px;">
<row>
<div class="col-md-2 col-md-offset-4 text-left"><a href="/keystone">Hommes</a></div>
<div class="col-md-2"><a href="/keystone">Femmes</a></div>
<div class="col-md-2 text-right"><a href="/keystone">Enfants</a></div>
<div class="form-group col-md-1 col-md-offset-1">
<div class="input-group has-feedback">
<input class="form-control" type="text" id="search-addon"><i class="glyphicon glyphicon-search form-control-feedback"></i>
</div>
</div>
</row>
The produced HTML looks OK, but the display doesn't include the icon in the input like in this fiddle
What am I doing wrong ... again :) Thanks