<div>
<!--    UPDATE HOST TYPE -->

    %   my $btn = l('MODIFY');

    <form action="/smanager/hostentriesd" method="POST">
    %#= form_for '/hostentriesd' => (method => 'POST') => begin
    
        <div>
            <%= l 'hos_REMOTE_PAGE_DESCRIPTION' %>
        </div>
    
        <div>
            <%= l 'IP_ADDRESS_OR_FQDN' %>
        </div>
    
        <div>
        % param 'Externalip' => $hos_datas->{externalip} unless param 'Externalip';
            <%= text_field 'Externalip' %>
        </div>
    
       <div class="row g-3 align-items-center">
           <div class="col-md-2">
               <button type="submit" class="btn btn-primary btn-sm"><%= $btn %></button>
           </div>
       </div>
    
        %= hidden_field 'trt' => $hos_datas->{trt}
        %= hidden_field 'Hostname' => $hos_datas->{hostname}
        %= hidden_field 'Name' => $hos_datas->{name}
        %= hidden_field 'Domain' => $hos_datas->{domain}
        %= hidden_field 'Comment'=> $hos_datas->{comment}
        %= hidden_field 'Hosttype'=> $hos_datas->{hosttype}
        %= hidden_field 'Internalip' => $hos_datas->{internalip}
        %= hidden_field 'Macaddress' => $hos_datas->{macaddress}
    
    %#end
    </form>

</div>
