Changeset 05fb6767f537c789e182b44040924fc269d988c9
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r907a0ba
|
r05fb676
|
|
| 412 | 412 | } |
| 413 | 413 | } |
| | 414 | $this->layout = 'default'; |
| 414 | 415 | } |
| 415 | 416 | |
-
|
r2b78924
|
r05fb676
|
|
| 2 | 2 | <?php echo $session->flash(); ?> |
| 3 | 3 | |
| 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')); ?> |
| 5 | 7 | <fieldset><legend><?php __('Account Data'); ?></legend> |
| 6 | 8 | <?php |
| … |
… |
|
| 10 | 12 | </fieldset> |
| 11 | 13 | <?php echo $form->end(__('Submit', true)); ?> |
| | 14 | <?php |
| | 15 | $script = <<<'JS' |
| | 16 | (function($) { |
| | 17 | $(document).ready(function() { |
| | 18 | $(':submit').button(); |
| | 19 | }); |
| | 20 | })(jQuery); |
| | 21 | JS; |
| | 22 | echo $this->Html->scriptBlock($script, array('inline' => false)); |
| | 23 | ?> |