0
I have this html with bootstrap. I need to put some textbox next to each other. I used a horizontal control and it didn’t work. In Producer control I put two textbox and it didn’t work.
<form class="form-horizontal">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="col-sm-2 control-label">Produtor</label>
<div class="col-sm-4">
<input type="text" class="form-control form-white">
</div>
<div class="col-sm-4">
<input type="text" class="form-control form-white">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">CNPJ</label>
<div class="col-sm-6">
<input type="text" class="form-control form-white">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Tipo Produtor</label>
<div class="col-sm-6">
<input type="text" class="form-control form-white">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Filial</label>
<div class="col-sm-6">
<input type="text" class="form-control form-white">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Data de Inclusão</label>
<div class="col-sm-2">
<input type="text" name="timepicker" class="b-datepicker form-control form-white" placeholder="Informe a data" data-orientation="top">
</div>
</div>
</div>
</div>
</form>
you have two Ivs after the producer label, put "col-Sm-3" and test, if you want you can use the site [ http://www.bootply.com/ ] which is great for this.
– Wilson Rosa Gomes
Visit this page to help you understand these situations better. https://getbootstrap.com/examples/grid/
– João Pedro