source: trunk/server/www/app/views/requests/admin_edit.ctp @ 295

Last change on this file since 295 was 295, checked in by sander, 10 years ago

Link teh requested output formats to individual jobs, not the request as a whole

File size: 1.4 KB
1<div class="requests form">
2<?php echo $form->create('Request');?>
3        <fieldset>
4                <legend><?php __('Edit Request');?></legend>
5        <?php
6                echo $form->input('id');
7                echo $form->input('user_id');
8                echo $form->input('ip_address');
9                echo $form->input('filename');
10                echo $form->input('path');
11                echo $form->input('mimetype_id');
12        ?>
13        </fieldset>
14<?php echo $form->end('Submit');?>
16<div class="actions">
17        <ul>
18                <li><?php echo $html->link(__('Delete', true), array('action'=>'delete', $form->value('')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value(''))); ?></li>
19                <li><?php echo $html->link(__('List Requests', true), array('action'=>'index'));?></li>
20                <li><?php echo $html->link(__('List Users', true), array('controller'=> 'users', 'action'=>'index')); ?> </li>
21                <li><?php echo $html->link(__('New User', true), array('controller'=> 'users', 'action'=>'add')); ?> </li>
22                <li><?php echo $html->link(__('List Doctypes', true), array('controller'=> 'doctypes', 'action'=>'index')); ?> </li>
23                <li><?php echo $html->link(__('New Doctype', true), array('controller'=> 'doctypes', 'action'=>'add')); ?> </li>
24                <li><?php echo $html->link(__('List Jobs', true), array('controller'=> 'jobs', 'action'=>'index')); ?> </li>
25                <li><?php echo $html->link(__('New Job', true), array('controller'=> 'jobs', 'action'=>'add')); ?> </li>
26        </ul>
Note: See TracBrowser for help on using the repository browser.