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