<?php
class Application_Form_Example13 extends Twitter_Bootstrap3_Form_Horizontal
{
public function init()
{
$this->addClass('row');
$this->addElement('text', 'input1', [
'label' => 'Input 1',
'dimension' => 'md-6',
'dimensionLabel' => 'md-3',
'dimensionControls' => 'md-9',
]);
$this->addElement('text', 'input2', [
'label' => 'Input 2',
'dimension' => 'md-6',
'dimensionLabel' => 'md-3',
'dimensionControls' => 'md-9',
]);
$this->addElement('checkbox', 'checkbox3', [
'label' => 'Checkbox 3',
'dimension' => 'md-6',
'dimensionLabel' => 'md-3',
'dimensionControls' => 'md-9',
]);
$this->addElement('text', 'input4', [
'label' => 'Input 4',
'dimension' => 'md-6',
'dimensionLabel' => 'md-3',
'dimensionControls' => 'md-9',
]);
$this->addElement('select', 'select5', [
'label' => 'Select 5',
'dimension' => 'md-6',
'dimensionLabel' => 'md-3',
'dimensionControls' => 'md-9',
]);
$this->addElement('file', 'file6', [
'label' => 'Upload file:',
'dimension' => 'md-6',
'dimensionLabel' => 'md-4',
'dimensionControls' => 'md-8',
]);
$this->addElement('submit', 'submit', [
'dimension' => 'md-6',
'dimensionLabel' => 'md-3',
'dimensionControls' => 'md-9',
]);
}
}