forked from CakeDC/users
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit.ctp
More file actions
44 lines (44 loc) · 1.73 KB
/
Copy pathedit.ctp
File metadata and controls
44 lines (44 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* Copyright 2010 - 2015, Cake Development Corporation (http://cakedc.com)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2010 - 2015, Cake Development Corporation (http://cakedc.com)
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
?>
<div class="actions columns large-2 medium-3">
<h3><?= __d('Users', 'Actions') ?></h3>
<ul class="side-nav">
<li><?= $this->Form->postLink(
__d('Users', 'Delete'),
['action' => 'delete', $Users->id],
['confirm' => __d('Users', 'Are you sure you want to delete # {0}?', $Users->id)]
)
?></li>
<li><?= $this->Html->link(__d('Users', 'List Users'), ['action' => 'index']) ?></li>
<li><?= $this->Html->link(__d('Users', 'List Accounts'), ['controller' => 'Accounts', 'action' => 'index']) ?> </li>
</ul>
</div>
<div class="users form large-10 medium-9 columns">
<?= $this->Form->create($Users); ?>
<fieldset>
<legend><?= __d('Users', 'Edit User') ?></legend>
<?php
echo $this->Form->input('username');
echo $this->Form->input('email');
echo $this->Form->input('first_name');
echo $this->Form->input('last_name');
echo $this->Form->input('token');
echo $this->Form->input('token_expires');
echo $this->Form->input('api_token');
echo $this->Form->input('activation_date');
echo $this->Form->input('tos_date');
echo $this->Form->input('active');
?>
</fieldset>
<?= $this->Form->button(__d('Users', 'Submit')) ?>
<?= $this->Form->end() ?>
</div>