3
Which Correct Way to Use Form Group ?
I use it as follows
<div class="row">
<div class="col-md-2" align="center">
<span class="glyphicon glyphicon-user" style="font-size:60px"></span>
</div>
<div class=" col-md-10">
<form class="form-group" role="form">
<div class="row">
<div class="form-group">
<div class="col-md-10">
<label>Nome</label>
<input type="text" class="form-control">
</div>
<div class="col-md-2">
<label>Situação</label>
<select class="form-control">
<option>Ativa</option>
<option>Inativa</option>
</select>
</div>
</div>
</div>
</form>
</div>
and apart from form-group it works,
leaving it to input and select it works
leaving form-group to face one of the components, it works...
What the right way?
In the example I showed the code, if it replaces Row, how I would divide the 2 columns, as in my example ?
– Rod