src/ItePHP/Component/Form/FormField.php
public function addClass($name){
		$classParts=explode(' ',$this->tags['class']);
		foreach($classParts as $part){
			if($name==$part)
				return;
		}

		$this->tags['class'].=' '.$name;
		$this->tags['class']=trim($this->tags['class']);
	}
public function addClass($name){
		$classParts=explode(' ',$this->tags['class']);
		foreach($classParts as $part){
			if($name==$part)
				return;
		}

		$this->tags['class'].=' '.$name;
		$this->tags['class']=trim($this->tags['class']);
	}
Add part html tag class

@param string $name - class name: