<?php
class Seguro_Form_TipoVistoriaPrevia extends Agro_Form {
	
	public function init() {
		$this->addElement('hidden', 'id', array('decorators' => $this->elementDecorator));
		
		$this->addElement('text', 'ds_nome_tipo_vistoria_previa', array(
			'decorators' => $this->elementDecorator,
			'required' => true,
			'label' => 'Nome'
		));
		
		$this->addElement('text', 'ds_chave', array(
			'decorators' => $this->elementDecorator,
			'required' => true,
			'label' => 'Chave',
		));
		
		$this->addElement('textarea', 'ds_descricao_tipo_vistoria_previa', array(
			'decorators' => $this->elementDecorator,
			'label' => 'Descrição',
			'cols' => 50,
			'rows' => 5
		));
	}
}
