title: yii framework: how to i put a label to a radio button?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7128803/yii-chtmlradiobuttonlist-css-to-align-horizontally">Yii CHtml::radioButtonList - CSS to align horizontally</a>  </p>
  </blockquote>
  
  
  
  <p>Am new to yii framework and the doubt might be silly!</p>
  
  <p>I want to write a radio button code with its label next to it!</p>
  
  <p>My code is as follows</p>
  
  <pre><code>&lt;div class="column"&gt;
  &lt;?php echo $form-&gt;radioButton($model,'radio',false); ?&gt;
  &lt;?php echo $form-&gt;error($model,'radio'); ?&gt;
  &lt;/div&gt;
  
  &lt;div class="row"&gt;
  &lt;?php echo $form-&gt;labelEx($model,'I need a room'); ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But it doesnt look nice! Is there any better way of doing this?</p>