<?php
class Application_Form_Example12 extends Twitter_Bootstrap3_Form_Vertical
{
    public function 
init()
    {
        
$this->addClass('row');

        
$this->addElement('text', 'input1', array(
            
'label' => 'Input 1',
            
'dimension' => 'lg-6',
            
'success' => true,
        ));
        
$this->addElement('text', 'input2', array(
            
'label' => 'Input 2',
            
'dimension' => 'lg-3,sm-9',
            
'success' => true,
        ));
        
$this->addElement('checkbox', 'checkbox3', array(
            
'label' => 'Checkbox 3',
            
'dimension' => 'sm-3',
            
'success' => true,
        ));
        
$this->getElement('checkbox3')->getDecorator('Container')
            ->
addBeforeContent('<div class="hidden-xs">&nbsp;</div>');
        
$this->addElement('text', 'input4', array(
            
'label' => 'Input 4',
            
'dimension' => 'md-4',
            
'success' => true,
        ));
        
$this->addElement('text', 'input5', array(
            
'label' => 'Input 5',
            
'dimension' => 'md-4',
            
'success' => true,
        ));
        
$this->addElement('select', 'select6', array(
            
'label' => 'Select 6',
            
'dimension' => 'md-4',
            
'success' => true,
        ));
    }
}