Adding interface <% $iface %> for <% $host %>
Torrus Service Id <% include('/elements/input-text.html', 'field' => 'serviceid', ) %>
<%init> # XXX: access rights, disable/enable submit button, something's wrong with style my $host = $cgi->param('host'); die 'invalid host' unless $host =~ /^[0-9.a-zA-Z\-]+$/; my $iface = $cgi->param('iface'); die 'invalid iface' unless $iface =~ /^[0-9A-Za-z_\-.\\\/ ]+$/;