Form->create(null, array('inputDefaults'=> array('div' => false,'label'=>false, 'style' => 'width:160px;margin-right:5px;float:left;', 'class' => 'form-control'), 'back'=>'true', 'url'=> array('controller'=>'home','action'=>'login') // 'url' => array('controller' => 'recipes', 'action' => 'add') )); echo $this->Form->input('User.mail',array('placeholder'=>__('dreamjob.mail'))); echo "\n"; echo $this->Form->input('User.password',array('placeholder'=>__('dreamjob.password'))); echo "\n"; echo $this->Form->button(__('dreamjob.login'),array('div' => false,'class'=>"btn btn-default",'type' => 'submit')); echo $this->Form->end(); ?>
Html->link(__('dreamjob.password.forget'),array('controller'=>'registration','action'=>'password_reset'),array('style'=>'color:white;'));?>