From: khoff Date: Thu, 15 Mar 2007 20:08:12 +0000 (+0000) Subject: Set input form MAXLENGTH attributes to match actual field sizes. X-Git-Tag: TRIXBOX_2_6~589 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=062cc0711149b9872d761560aaf4bac08f7801eb;p=freeside.git Set input form MAXLENGTH attributes to match actual field sizes. --- diff --git a/httemplate/edit/part_virtual_field.cgi b/httemplate/edit/part_virtual_field.cgi index 9dda4ebf9..6fc908b2c 100644 --- a/httemplate/edit/part_virtual_field.cgi +++ b/httemplate/edit/part_virtual_field.cgi @@ -42,7 +42,7 @@ Field #<%$vfieldpart or "(NEW)"%>

<%ntable("#cccccc",2)%> Name - @@ -54,7 +54,7 @@ Field #<%$vfieldpart or "(NEW)"%>

% % my $dbdef = dbdef; # ick % #foreach my $dbtable (sort { $a cmp $b } $dbdef->tables) { -% foreach my $dbtable (qw( svc_broadband )) { +% foreach my $dbtable (qw( svc_broadband router )) { % if ($dbtable !~ /^h_/ % and $dbdef->table($dbtable)->primary_key) { @@ -74,7 +74,7 @@ Field #<%$vfieldpart or "(NEW)"%>

Label -