How do I put one control side by side with bootstrap

0

I have this html with bootstrap. I need to put some textbox next to each other. I used a horizontal control and it did not work. In the Producer control I put two textboxes and it did not 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>
    
asked by anonymous 30.03.2016 / 15:22

1 answer

0

You can colonize the data as you did, see the example: link

    
30.03.2016 / 19:53