<p dir="auto">In <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_horizontal_layout.html.twig#L12-L14">this code</a> a div is taking up space with no contents. I understand that if there are siblings with a label you want to align them. But often you have either no labels at all or everything has a label. Some logic could be introduced here to look at siblings.</p>
<p dir="auto">I've got a bootstrap-form issue I can’t figure out if it's a real issue or not.</p>
<p dir="auto">I’m having a form type with a nested form type and are rendering it with <code class="notranslate">{{ form_widget(form) }}</code>. The nested type will get a wrapping form-group and an extra <code class="notranslate">col-sm-2</code>-class making the form look ugly.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/165154/14362902/f6782648-fd01-11e5-910a-4d2d08df4df9.png"><img width="743" alt="screenshot 2016-04-07 20 20 48" src="https://cloud.githubusercontent.com/assets/165154/14362902/f6782648-fd01-11e5-910a-4d2d08df4df9.png" style="max-width: 100%;"></a></p>
<p dir="auto">An easy solution would be to render the type with <code class="notranslate">{{ form_widget(form.foo) }}</code> but I think there should be a way to render the whole form with just passing the form to form_widget.</p>
<p dir="auto">Modifying the block <code class="notranslate">form_row</code> to only render the bootstrap markup and label if <code class="notranslate">form.children</code> is empty solves it but it's kinda dramatic and might not be the wanted solution. Please give me advice before I eventually open a pr for it.</p>