Ignore:
Timestamp:
Jun 2, 2008, 11:25:47 PM (16 years ago)
Author:
ecprice
Message:

Put validation behind more abstraction.

Location:
trunk/packages/sipb-xen-www/code/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/templates/info.tmpl

    r539 r572  
    7878$helppopup("Administrator")#slurp
    7979#end filter
    80 :</td><td><input type="text" name="administrator", value="$defaults.administrator"/></td></tr>
     80:</td><td><input type="text" name="admin", value="$defaults.administrator"/></td></tr>
    8181#filter None
    8282$errorRow('administrator', $err)
     
    107107$errorRow('memory', $err)
    108108#end filter
    109     <tr><td>Disk:</td><td><input type="text" size=3 name="disk" value="$defaults.disk"/>GiB (max $max_disk)</td><td>WARNING: Modifying disk size may corrupt your data.</td></tr>
     109    <tr><td>Disk:</td><td><input type="text" size=3 name="disksize" value="$defaults.disk"/>GiB (max $max_disk)</td><td>WARNING: Modifying disk size may corrupt your data.</td></tr>
    110110#filter None
    111111$errorRow('disk', $err)
  • trunk/packages/sipb-xen-www/code/templates/list.tmpl

    r559 r572  
    4040        <tr>
    4141          <td>Disk</td>
    42           <td><input type="text" name="disk" value="$defaults.disk" size=3/> GiB (${"%0.1f" % ($max_disk-0.05)} max)</td>
     42          <td><input type="text" name="disksize" value="$defaults.disk" size=3/> GiB (${"%0.1f" % ($max_disk-0.05)} max)</td>
    4343        </tr>
    4444#filter None
Note: See TracChangeset for help on using the changeset viewer.