khanat-code-old/code/web/public_php/webtt/app/views/votes/add.ctp

43 lines
1.3 KiB
Text
Raw Normal View History

2011-07-14 14:49:25 +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(__('Add %s', true), __('Vote', true)); ?></h2>
<div class="votes form">
<?php echo $this->Form->create('Vote');?>
<fieldset>
<legend><?php printf(__('Vote', true)); ?></legend>
<?php
echo $this->Form->input('translation_id');
echo $this->Form->input('user_id');
?>
2011-07-14 14:49:25 +00:00
</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
2011-07-14 14:49:25 +00:00
</div>
<div class="clear"></div>