1. François Gannaz
  2. yii-bootstrap

Source

yii-bootstrap / demo / protected / models / TestForm.php

<?php
class TestForm extends CFormModel
{
	public $textField;
	public $password;
	public $textarea;
	public $dropdown;
	public $multiDropdown;
	public $checkbox;
	public $checkboxes;
	public $inlineCheckboxes;
	public $radioButton;
	public $radioButtons;
	public $inlineRadioButtons;
	public $fileField;
	public $uneditable;
	public $disabled;
	public $textFieldError;
	public $prepend;
	public $append;
	public $disabledCheckbox;
	public $captcha;

	public function attributeLabels()
	{
		return array(
			'textField'=>'Text input',
			'dropdown'=>'Select list',
			'multiDropdown'=>'Multiple select',
			'checkbox'=>'Check me out',
			'inlineCheckboxes'=>'Inline checkboxes',
			'radioButtons'=>'Radio buttons',
			'fileField'=>'File input',
			'uneditable'=>'Uneditable input',
			'disabled'=>'Disabled input',
			'textFieldError'=>'Input with error',
			'prepend'=>'Prepend text',
			'append'=>'Append text',
			'disabledCheckbox'=>'Disabled checkbox',
		);
	}
}