1 <input type="hidden" name="TableEntryFrameSubmitted" value="1">
2 <h3>{t}Device{/t}</h3>
3 <table style='width:100%' summary="">
4 <tr>
5 <td style='width:50%;border-right:1px solid #909090;'><LABEL for="DISKcn">
6 {t}Name{/t}
7 </LABEL>{$must}
8 {render acl=$DISKcnACL}
9 <input type='text' value="{$DISKcn}" size="45" maxlength="80" name="DISKcn" id="DISKcn">
10 {/render}
11 </td>
12 <td><LABEL for="DISKdescription">
13 {t}Description{/t}
14 </LABEL>
15 {render acl=$DISKdescriptionACL}
16 <input type='text' value="{$DISKdescription}" size="45" maxlength="80" name="DISKdescription" id="DISKdescription">
17 {/render}
18 </td>
19 </tr>
20 </table>
21 <br>
22 <hr>
23 <br>
24 <h3>{t}Partition entries{/t}</h3>
25 {$setup}
26 <br>
27 {if !$freeze}
28 {if $sub_object_is_createable}
29 <button type='submit' name='AddPartition'>{t}Add partition{/t}</button>
31 {else}
32 <button type='submit' name='restricted'>{t}Add partition{/t}</button>
34 {/if}
35 {/if}
36 <br>
37 <br>
38 <hr>
39 <br>
40 <div style="align:right;" align="right">
41 {if !$freeze}
42 <button type='submit' name='SaveDisk'>{msgPool type=saveButton}</button>
44 {/if}
45 <button type='submit' name='CancelDisk'>{msgPool type=cancelButton}</button>
47 </div>
48 <!-- Place cursor -->
49 <script language="JavaScript" type="text/javascript">
50 <!-- // First input field on page
51 focus_field('DISK_cn');
52 -->
53 </script>