Changeset 05fb6767f537c789e182b44040924fc269d988c9

Show
Ignore:
Timestamp:
08/08/11 11:45:01 (10 months ago)
Author:
xemle <xemle@phtagr.org>
Children:
36a9180ea5d0e5fa1404a208e1a18febfac91e48
Parents:
a5f6d0d5de36959d4ee49dc7f3ed0feb2f643448
git-committer:
xemle <xemle@phtagr.org> / 2011-08-08T11:45:01Z+0200
Message:

Fix layout of lost password

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • controllers/users_controller.php

    r907a0ba r05fb676  
    412412      } 
    413413    } 
     414    $this->layout = 'default'; 
    414415  } 
    415416 
  • views/users/password.ctp

    r2b78924 r05fb676  
    22<?php echo $session->flash(); ?> 
    33 
    4 <?php echo $form->create('User', array('action' => 'password')); ?> 
     4<p><?php __("Please insert your username and email address to request your lost password."); ?> 
     5 
     6<?php echo $form->create('User', array('action' => 'password', 'class' => 'default')); ?> 
    57<fieldset><legend><?php __('Account Data'); ?></legend> 
    68<?php 
     
    1012</fieldset> 
    1113<?php echo $form->end(__('Submit', true)); ?> 
     14<?php  
     15  $script = <<<'JS' 
     16(function($) { 
     17  $(document).ready(function() { 
     18    $(':submit').button(); 
     19  });  
     20})(jQuery); 
     21JS; 
     22  echo $this->Html->scriptBlock($script, array('inline' => false)); 
     23?>