23 lines
1.2 KiB
Text
23 lines
1.2 KiB
Text
|
<div class="users form">
|
||
|
<?php echo $this->Form->create('User');?>
|
||
|
<fieldset>
|
||
|
<legend><?php __('Admin Edit User'); ?></legend>
|
||
|
<?php
|
||
|
echo $this->Form->input('id');
|
||
|
echo $this->Form->input('name');
|
||
|
?>
|
||
|
</fieldset>
|
||
|
<?php echo $this->Form->end(__('Submit', true));?>
|
||
|
</div>
|
||
|
<div class="actions">
|
||
|
<h3><?php __('Actions'); ?></h3>
|
||
|
<ul>
|
||
|
|
||
|
<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('User.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('User.id'))); ?></li>
|
||
|
<li><?php echo $this->Html->link(__('List Users', true), array('action' => 'index'));?></li>
|
||
|
<li><?php echo $this->Html->link(__('List Translations', true), array('controller' => 'translations', 'action' => 'index')); ?> </li>
|
||
|
<li><?php echo $this->Html->link(__('New Translation', true), array('controller' => 'translations', 'action' => 'add')); ?> </li>
|
||
|
<li><?php echo $this->Html->link(__('List Votes', true), array('controller' => 'votes', 'action' => 'index')); ?> </li>
|
||
|
<li><?php echo $this->Html->link(__('New Vote', true), array('controller' => 'votes', 'action' => 'add')); ?> </li>
|
||
|
</ul>
|
||
|
</div>
|