51a3db1466b96d1817586cbf59c26219ed061038
[living-lab-site.git] / application / views / video / upload_view.php
1 <?php echo form_open_multipart("video/upload") ?>
2 <table class="form">
3         <tr>
4                 <td></td>
5                 <td><span class="required"><?php echo $this->lang->line('ui_required_fields') ?></span></td>
6         </tr>
7         
8         <tr><td></td><td>&nbsp;</td></tr>
9
10         <tr>
11                 <th><?php echo $this->lang->line('video_upload_file') ?> <span class="required">*</span> : </th>
12                 <td><input type="file" name="video-upload-file" size="32" /></td>
13         </tr>
14         <tr><td></td><td><?php echo form_error('video-upload-file') ?></td></tr>
15         
16         <tr><td></td><td>&nbsp;</td></tr>
17
18         <tr>
19                 <th><?php echo $this->lang->line('video_title') ?> <span class="required">*</span> : </th>
20                 <td><input type="text" name="video-title" value="<?php echo set_value('video-title') ?>" size="64" /></td>
21         </tr>
22         <tr><td></td><td><?php echo form_error('video-title') ?></td></tr>
23         
24         <tr>
25                 <th><?php echo $this->lang->line('video_description') ?> <span class="required">*</span> : </th>
26                 <td><textarea name="video-description" rows="4" cols="32"><?php echo set_value('video-description') ?></textarea></td>
27         </tr>
28         <tr><td></td><td><?php echo form_error('video-description') ?></td></tr>
29         
30         <tr>
31                 <th><?php echo $this->lang->line('video_tags') ?> <span class="required">*</span> : </th>
32                 <td><input type="text" name="video-tags" value="<?php echo set_value('video-tags') ?>" size="16" /> (<?php echo $this->lang->line('video_tags_hint') ?>)</td>
33         </tr>
34         <tr><td></td><td><?php echo form_error('video-tags') ?></td></tr>
35         
36         <tr><td></td><td>&nbsp;</td></tr>
37         
38         <tr>
39                 <td></td>
40                 <td><input type="submit" value="<?php echo $this->lang->line('video_submit_upload') ?>" /></td>
41         </tr>
42 </table>
43 </form>