Created
June 6, 2013 16:45
-
-
Save dodopok/5722985 to your computer and use it in GitHub Desktop.
FormHelper - CakePHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo $this->Form->create('Veiculo'); ?> | |
<fieldset> | |
<legend><?php echo __('Novo Veículo'); ?></legend> | |
<?php | |
echo $this->Form->input('user_id', array('type' => 'hidden', 'value' => $this->Session->read('Auth.User.id'))); | |
echo $this->Form->input('group_id', array('type' => 'hidden', 'value' => $this->Session->read('choosed'))); | |
echo $this->Form->input('veiculo', array('size' => '150', 'label' => 'Veículo')); | |
echo $this->Form->input('placa'); | |
echo $this->Form->input('rntc', array('size' => '20', 'label' => 'RNTC')); | |
echo $this->Form->input('antt', array('size' => '20', 'label' => 'Código ANTT')); | |
echo $this->Form->input('estados', array('label' => 'UF Placa')); | |
?> | |
</fieldset> | |
<?php echo $this->Form->end(__('Cadastrar')); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment