khanat-opennel-code/code/web/public_php/webtt/app/views/votes/edit.ctp

44 lines
1.3 KiB
Text
Raw Normal View History

2014-09-03 05:06:43 +00:00
<div class="grid_3">
<div class="box menubox">
<h2>
<a href="#" id="toggle-admin-actions">Actions</a>
</h2>
<div class="inbox">
<div class="block" id="admin-actions">
<h5><?php echo __('Votes', true); ?></h5>
<ul class="menu">
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('action' => 'index'));?></li> </ul>
<h5>Translations</h5>
<ul class="menu">
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
</ul>
<h5>Users</h5>
<ul class="menu">
<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
</ul>
</div>
</div>
</div>
</div>
<div class="grid_13">
<h2 id="page-heading"><?php printf(__('Edit %s', true), __('Vote', true)); ?></h2>
<div class="votes form">
<?php echo $this->Form->create('Vote');?>
<fieldset>
<legend><?php printf(__('Vote # %s', true), $this->Form->value('Vote.id')); ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('translation_id');
echo $this->Form->input('user_id');
?>
</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
</div>
<div class="clear"></div>