{* FusionDirectory dhcp host - smarty template *}
<p><b>{t}Generic{/t}</b></p>
<table width="100%">
 <tr>
  <td width="50%" style="vertical-align:top">
   <table>
    <tr>
     <td>{t}Name{/t}{$must}</td>
     <td>
{render acl=$acl}
      <input {if $realGosaHost} disabled {/if} id='cn' type='text' name='cn' size='25' maxlength='80' value='{$cn}'
             title='{t}Name of host{/t}'>
{/render}
     </td>
    </tr>
    <tr>
     <td>{t}Fixed address{/t}</td>
     <td>
{render acl=$acl}
      <input {if $realGosaHost} disabled {/if}
      type='text' name='fixedaddr' size='25' maxlength='80' value='{$fixedaddr}'
             title='{t}Use hostname or IP-address to assign fixed address{/t}'>
{/render}
     </td>
    </tr>
   </table>
  </td>
  <td>
   <table>
    <tr>
     <td>{t}Hardware type{/t}</td>
     <td>
{render acl=$acl}
      <select name='hwtype'  {if $realGosaHost} disabled {/if} >
       {html_options options=$hwtypes selected=$hwtype}
      </select>
{/render}
     </td>
    </tr>
    <tr>
     <td>{t}Hardware address{/t}{$must}</td>
     <td>
{render acl=$acl}
      <input  {if $realGosaHost}  disabled {/if} type='text' name='dhcpHWAddress' size='20' maxlength='18' value='{$dhcpHWAddress}'>
{/render}
     </td>
    </tr>
   </table>
  </td>
 </tr>
</table>
<input type='hidden' name='dhcp_host_posted' value='1'>
<p class="seperator"></p>

<!-- Place cursor in correct field -->
<script type="text/javascript">
  <!-- // First input field on page
   focus_field('cn');
  -->
</script>
