<%= $_->{"HostName"}; %> |
<%= $_->{"HostType"}; %> |
<%= $_->{"IP"}; %> |
<%= $_->{"MACAddress"}; %> |
<%= $_->{"Comment"}; %> |
% 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) %> |
% }