10 Yii::import(
'booster.widgets.input.TbInputVertical');
28 echo $this->form->dropDownList($this->model, $this->attribute, $this->data, $this->htmlOptions);
39 echo $this->form->passwordField($this->model, $this->attribute, $this->htmlOptions);
50 echo $this->form->textArea($this->model, $this->attribute, $this->htmlOptions);
61 echo $this->form->textField($this->model, $this->attribute, $this->htmlOptions);
73 echo $this->form->maskedTextField($this->model, $this->attribute, $this->data, $this->htmlOptions);
85 echo $this->form->typeAheadField($this->model, $this->attribute, $this->data, $this->htmlOptions);
96 if (isset($this->htmlOptions[
'options'])) {
97 $options = $this->htmlOptions[
'options'];
98 unset($this->htmlOptions[
'options']);
101 if (isset($this->htmlOptions[
'events'])) {
102 $events = $this->htmlOptions[
'events'];
103 unset($this->htmlOptions[
'events']);
109 'booster.widgets.TbDatePicker',
111 'model' => $this->model,
112 'attribute' => $this->attribute,
113 'options' => isset($options) ? $options : array(),
114 'events' => isset($events) ? $events : array(),
115 'htmlOptions' => $this->htmlOptions,
129 if (isset($this->htmlOptions[
'options'])) {
130 $options = $this->htmlOptions[
'options'];
131 unset($this->htmlOptions[
'options']);
134 if (isset($this->htmlOptions[
'events'])) {
135 $events = $this->htmlOptions[
'events'];
136 unset($this->htmlOptions[
'events']);
142 'booster.widgets.TbDateTimePicker',
144 'model' => $this->model,
145 'attribute' => $this->attribute,
146 'options' => isset($options) ? $options : array(),
147 'events' => isset($events) ? $events : array(),
148 'htmlOptions' => $this->htmlOptions,
162 if (isset($this->htmlOptions[
'options'])) {
163 $options = $this->htmlOptions[
'options'];
164 unset($this->htmlOptions[
'options']);
167 if (isset($options[
'callback'])) {
168 $callback = $options[
'callback'];
169 unset($options[
'callback']);
175 'booster.widgets.TbDateRangePicker',
177 'model' => $this->model,
178 'attribute' => $this->attribute,
179 'options' => isset($options) ? $options : array(),
180 'callback' => isset($callback) ? $callback :
'',
181 'htmlOptions' => $this->htmlOptions,
191 if (!isset($this->htmlOptions[
'placeholder'])) {
192 $this->htmlOptions[
'placeholder'] = $this->model->getAttributeLabel($this->attribute);