As I work on styling my admin panels with Twitter Bootstrap, I've encountered a strange issue. Upon testing in Chrome 28 and Firefox, adding a simple hidden input seems to disrupt the grid layout.
If the hidden input is moved into div.span6
or removed altogether, everything functions as expected. However, leaving it there causes the rows to collapse and not display properly. Ideally, they should be positioned next to each other, not stacked on top of one another.
Fiddle: http://jsfiddle.net/EZMvB/
<div class="container-fluid">
<form action="/admin/category/create" class="row-fluid" method="post">
<input type="hidden" name="WAT" value="WAT" />
<div class="span6">
<label for="NameEnglish">Name (English)</label>
<input class="input-block-level" name="NameEnglish" type="text">
</div>
<div class="span6">
<label for="NameEnglish">Name (English)</label>
<input class="input-block-level" name="NameEnglish" type="text">
</div>
<input type="submit" value="Create" class="btn btn-large btn-primary pull-right">
</form>
</div>