title: How to add a class in yii form button submit
body: <p>This is a code for a form. I want to add a class for submit button and add a inline style for all text fields. How can I do this one?</p>
  
  <p>for example in view source look like this 
  
  I want to edit like this
  </p>
  
  <pre><code>&lt;div class="form"&gt;
  &lt;?php $form=$this-&gt;beginWidget('CActiveForm', array(
      'id'=&gt;'login-form',
      'enableClientValidation'=&gt;true,
      'clientOptions'=&gt;array(
          'validateOnSubmit'=&gt;true,
      ),
  )); ?&gt;
  
      &lt;p class="note"&gt;Fields with &lt;span class="required"&gt;*&lt;/span&gt; are required.&lt;/p&gt;
  
      &lt;div class="row"&gt;
          &lt;?php echo $form-&gt;labelEx($model,'username'); ?&gt;
          &lt;?php echo $form-&gt;textField($model,'username'); ?&gt;
          &lt;?php echo $form-&gt;error($model,'username'); ?&gt;
      &lt;/div&gt;
  
      &lt;div class="row"&gt;
          &lt;?php echo $form-&gt;labelEx($model,'password'); ?&gt;
          &lt;?php echo $form-&gt;passwordField($model,'password'); ?&gt;
          &lt;?php echo $form-&gt;error($model,'password'); ?&gt;
          &lt;p class="hint"&gt;
              Hint: You may login with &lt;kbd&gt;demo&lt;/kbd&gt;/&lt;kbd&gt;demo&lt;/kbd&gt; or &lt;kbd&gt;admin&lt;/kbd&gt;/&lt;kbd&gt;admin&lt;/kbd&gt;.
          &lt;/p&gt;
      &lt;/div&gt;
  
      &lt;div class="row rememberMe"&gt;
          &lt;?php echo $form-&gt;checkBox($model,'rememberMe'); ?&gt;
          &lt;?php echo $form-&gt;label($model,'rememberMe'); ?&gt;
          &lt;?php echo $form-&gt;error($model,'rememberMe'); ?&gt;
      &lt;/div&gt;
  
      &lt;div class="row buttons"&gt;
          &lt;?php echo CHtml::submitButton('Login'); ?&gt;
      &lt;/div&gt;
  
  &lt;?php $this-&gt;endWidget(); ?&gt;
  &lt;/div&gt;&lt;!-- form --&gt;
  </code></pre>