public function addToFormContainer(Nette\Forms\Container $container)
	{
		$container->addText($this->key, $this->name);

		$this->addAttributes($container[$this->key]);

		if ($this->getPlaceholder()) {
			$container[$this->key]->setAttribute('placeholder', $this->getPlaceholder());
		}
	}
public function addToFormContainer(Nette\Forms\Container $container)
	{
		$container->addText($this->key, $this->name);

		$this->addAttributes($container[$this->key]);

		if ($this->getPlaceholder()) {
			$container[$this->key]->setAttribute('placeholder', $this->getPlaceholder());
		}
	}
public function addToFormContainer ( Nette \ Forms \ Container $ container ) { $ container -> addText ( $ this -> key , $ this -> name ) ; $ this -> addAttributes ( $ container [ $ this -> key ] ) ; if ( $ this -> getPlaceholder ( ) ) { $ container [ $ this -> key ] -> setAttribute ( 'placeholder' , $ this -> getPlaceholder ( ) ) ; } }
Adds text field to filter form
@param Nette\Forms\Container $container
Adds text field to filter form