Skip to content

Commit

Permalink
Using entity for $this->Form->create()
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan committed Jan 3, 2020
1 parent a77b2ca commit 64bf254
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/Users/request_reset_password.php
@@ -1,6 +1,9 @@
<?php
use CakeDC\Users\Model\Entity\User;
?>
<div class="users form">
<?= $this->Flash->render('auth') ?>
<?= $this->Form->create('User') ?>
<?= $this->Form->create(new User) ?>
<fieldset>
<legend><?= __d('cake_d_c/users', 'Please enter your email to reset your password') ?></legend>
<?= $this->Form->control('reference') ?>
Expand Down

0 comments on commit 64bf254

Please sign in to comment.