%= submit_button "$btn", class => "action"
%= $c->l("hos_CURRENT_HOSTNAMES_FOR_LOCAL_DOMAIN", $domain);
%=l "Hostname" | %=l "Location" | %=l "IP_ADDRESS_OR_FQDN" | %=l "hos_ETHERNET_ADDRESS" | %=l "COMMENT" | %=l "ACTION" |
---|---|---|---|---|---|
%my ($actionModify, $actionRemove) = " "; %my $static = $_->{"static"} || "no"; %if ($static ne "yes") { %my $modify_text = l("MODIFY"); # Localized text %my $csrf_token = "TOKEN"; # CSRF token for security %my $hostentries_name = $_->{"HostName"}; # hostentries name extracted from the data structure %$actionModify = qq{ % % % %}; %my $remove_text = l("REMOVE"); # Localized text %$csrf_token = "TOKEN"; # CSRF token for security %#my $hostentries_name = $_->{"HostName"}; # hostentries name extracted from the data structure %$actionRemove = qq{ % % % %}; %} <%= $c->render_to_string(inline => $actionModify) %> <%= $c->render_to_string(inline => $actionRemove) %> |