29 $this->formElementsPrefix=$js->config()->getVar(
"formElementsPrefix");
30 foreach ( $this->futureElements as $futureElement ) {
31 $futureElementValue=$this->
getPrefix($futureElement);
32 $futureElementValues=explode(
"_", $futureElementValue);
33 switch($futureElementValues [0]) {
36 $control->setClass(
"form-control");
37 $control->setLabel($this->
getPart($futureElement));
41 $control->setLabel($this->
getPart($futureElement),
false);
44 $name=$this->
getPart($futureElement);
45 $label=$this->
getPart($futureElement, 2);
47 $control->setProperty(
"name", strtolower($name));
48 $control->setLabel($label,
false);
52 $control->setProperty(
"size", $futureElementValues [1]);
53 $control->setClass(
"form-control");
57 $control->setClass(
"form-control");
58 $control->setLabel($this->
getPart($futureElement));
64 foreach ( $this->formGroups as $group ) {
67 return parent::compile($js, $view);