Created
May 5, 2014 02:42
-
-
Save braulioholtz/576408ed931e2824ef52 to your computer and use it in GitHub Desktop.
editar.ctp (resumido)
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
echo $this->Form->create("Cliente"); | |
echo $this->Form->input('nome', $options); | |
echo $this->Form->input('email', $options); | |
echo $this->Form->input('telefone', $options); | |
echo $this->Form->input('mais', $options); | |
foreach($opcoes as $data): | |
echo $this->Form->hidden('opcoes_clientes.opco_id', array('value'=> $id)); | |
echo $this->Form->hidden('opcoes_clientes.cliente_id', array('value'=> $clientes['Cliente']['id'])); | |
echo $this->Form->input('opcoes_clientes.host', $options); | |
echo $this->Form->input('opcoes_clientes.user', $options); | |
echo $this->Form->input('opcoes_clientes.password', $options); | |
endforeach; | |
echo $this->Form->end($options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment