protected function _build_content() { parent::_build_content(); $input = Bootstrap_Form_Element_Input::factory(array('name' => 'query', 'value' => $this->get('query')))->attributes('class', Bootstrap_Form::SEARCH_QUERY)->append(Bootstrap_Form_Element_Button::factory(array('name' => 'search_button', 'title' => $this->get('button_title', __('Search'))))->icon('search')); $this->add($input); }
protected function _build_content() { parent::_build_content(); $this->_content = Form::password($this->get('name'), $this->get('value'), $this->attributes()->as_array()); }