code/BootstrapTagField.php
public function Field($properties = array()) {
		Requirements::javascript(BOOTSTRAP_TAGFIELD_DIR.'/javascript/typeahead.js');
		Requirements::javascript(BOOTSTRAP_TAGFIELD_DIR.'/javascript/bootstrap-tagfield.js');
		Requirements::javascript(BOOTSTRAP_TAGFIELD_DIR.'/javascript/bootstrap-tagfield-init.js');
		Requirements::css(BOOTSTRAP_TAGFIELD_DIR.'/css/bootstrap-tagfield.css');

		$this->setAttribute('data-value', $this->getValuesJSON())
			 ->setAttribute('data-bootstrap-tags', true)
			 ->setAttribute('data-query-url', $this->Link('query'))
			 ->setAttribute('data-prefetch-url', $this->Link('prefetch'))
			 ->setAttribute('data-freeinput', $this->freeInput)
			 ->setAttribute('class', 'text');
		
		return $this->renderWith(
			$this->getTemplates()
		);
	}
public function Field($properties = array()) {
		Requirements::javascript(BOOTSTRAP_TAGFIELD_DIR.'/javascript/typeahead.js');
		Requirements::javascript(BOOTSTRAP_TAGFIELD_DIR.'/javascript/bootstrap-tagfield.js');
		Requirements::javascript(BOOTSTRAP_TAGFIELD_DIR.'/javascript/bootstrap-tagfield-init.js');
		Requirements::css(BOOTSTRAP_TAGFIELD_DIR.'/css/bootstrap-tagfield.css');

		$this->setAttribute('data-value', $this->getValuesJSON())
			 ->setAttribute('data-bootstrap-tags', true)
			 ->setAttribute('data-query-url', $this->Link('query'))
			 ->setAttribute('data-prefetch-url', $this->Link('prefetch'))
			 ->setAttribute('data-freeinput', $this->freeInput)
			 ->setAttribute('class', 'text');
		
		return $this->renderWith(
			$this->getTemplates()
		);
	}
public function Field ( $ properties = array ( ) ) { Requirements :: javascript ( BOOTSTRAP_TAGFIELD_DIR . '/javascript/typeahead.js' ) ; Requirements :: javascript ( BOOTSTRAP_TAGFIELD_DIR . '/javascript/bootstrap-tagfield.js' ) ; Requirements :: javascript ( BOOTSTRAP_TAGFIELD_DIR . '/javascript/bootstrap-tagfield-init.js' ) ; Requirements :: css ( BOOTSTRAP_TAGFIELD_DIR . '/css/bootstrap-tagfield.css' ) ; $ this -> setAttribute ( 'data-value' , $ this -> getValuesJSON ( ) ) -> setAttribute ( 'data-bootstrap-tags' , true ) -> setAttribute ( 'data-query-url' , $ this -> Link ( 'query' ) ) -> setAttribute ( 'data-prefetch-url' , $ this -> Link ( 'prefetch' ) ) -> setAttribute ( 'data-freeinput' , $ this -> freeInput ) -> setAttribute ( 'class' , 'text' ) ; return $ this -> renderWith ( $ this -> getTemplates ( ) ) ; }
Renders the field

@param  array $properties
@return  SSViewer
Renders the field