Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / web / public_php / webtt / app / views / votes / add.ctp
blob2fab35c255f3929df6999db744c1fa11907e337b
1 <div class="grid_3">
2         <div class="box menubox">
3                                 <h2>
4                         <a href="#" id="toggle-admin-actions">Actions</a>
5                 </h2>
6                 <div class="inbox">
7                 <div class="block" id="admin-actions">
8                         <h5><?php echo __('Votes', true); ?></h5>
9                         <ul class="menu">
10                                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Votes', true)), array('action' => 'index'));?></li>                   </ul>
11                         
12                         <h5>Translations</h5>
13                         <ul class="menu">
14                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Translations', true)), array('controller' => 'translations', 'action' => 'index')); ?> </li>
15                         </ul>
17                         <h5>Users</h5>
18                         <ul class="menu">
19                                 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Users', true)), array('controller' => 'users', 'action' => 'index')); ?> </li>
20                         </ul>
21                 </div>
22                 </div>
23         </div>
24 </div>
26 <div class="grid_13">
27     <h2 id="page-heading"><?php printf(__('Add %s', true), __('Vote', true)); ?></h2>
28     
29         <div class="votes form">
30         <?php echo $this->Form->create('Vote');?>
31                 <fieldset>
32                                                 <legend><?php printf(__('Vote', true)); ?></legend>
33                                         <?php
34                 echo $this->Form->input('translation_id');
35                 echo $this->Form->input('user_id');
36         ?>
37                 </fieldset>
38         <?php echo $this->Form->end(__('Submit', true));?>
39         </div>
41 </div>
42 <div class="clear"></div>