title: Symfony horizontal radio buttons
body: <p>I am trying to get radio buttons on the same line. The closest solutions I have found so far are these:
  <a href="https://stackoverflow.com/questions/20819010/bootstrap-3-does-form-horizontal-work-for-radio-buttons-with-a-control-label">Bootstrap 3: does form-horizontal work for radio buttons with a control-label?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/24072364/radio-buttons-horizontal-alignment">Radio buttons Horizontal Alignment</a>
  But they do not use symfony. Is there a built in solution for symfony forms?
  What would be the easiest way?
  By the way, I still need some other radio buttons to be vertical.     </p>
  
  <pre><code>&lt;div class="row" style='margin-bottom: 5px'&gt;
      &lt;div style='white-space:nowrap'&gt;
           &lt;div class='col-xs-5'&gt;
               &lt;div class='col-xs-5'&gt;
                   {{ form_label(form.mNec, 'Necrotising enterocolitis', {'label_attr':{'style':'margin-top:3px'}})}}
               &lt;/div&gt;
               &lt;div class='col-xs-2' style='margin-top: 5px; margin-left: 120px'&gt;
                    {{ form_widget(form.mNec, {'attr':{'style':'width:60px'}})}}
               &lt;/div&gt;
           &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  
  -&gt;add('mNec', 'choice', array(
      'choices'=&gt;array(
      'absent'=&gt;1,
      'suspected'=&gt;2,
      'proven (positive x-ray)'=&gt;3),
      'choices_as_values'=&gt;true,
      'expanded'=&gt;true))
  </code></pre>