dreamjob/app/View/Home/login.ctp

23 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-03-31 14:49:03 +02:00
<?php
?>
<div class="box 2modal">
<h1 class="modal-title" style="background-color:#9D1C16;color:white;"><?=__('dreamjob.login');?></h1>
<?php
$default_Form['back'] = true;
$default_Form['url'] = array('controller'=>'home','action'=>'login');
$default_Form['class'] = 'modal-body';
echo $this->Form->create(null, $default_Form);
echo $this->Form->input('User.mail',array('placeholder'=>__('dreamjob.mail'),'label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class'])));
echo $this->Form->input('User.password',array('placeholder'=>__('dreamjob.password'),'label'=>array('text'=>__("dreamjob.password"),"class"=>$default_Form['inputDefaults']['label']['class'])));
?>
<div class="form-group">
<div class="modal-footer">
<?=$this->Form->button(__('dreamjob.login'),array('class'=>'btn btn-primary','type'=>'submit'));?>
<?=$this->Html->link(__('dreamjob.registration.to'),array('controller'=>'registration','action'=>'worker'),array('class'=>'btn btn-default'));?>
<?=$this->Html->link(__('dreamjob.password.forget'),array('controller'=>'registration','action'=>'password_reset'),array('style'=>'float:left;'));?>
</div>
</div>
<?=$this->Form->end();?>
</div>