diff options
author | khoff <khoff> | 2007-03-15 20:08:12 +0000 |
---|---|---|
committer | khoff <khoff> | 2007-03-15 20:08:12 +0000 |
commit | 062cc0711149b9872d761560aaf4bac08f7801eb (patch) | |
tree | f012787e1e81e96b79c367c4325d4917e20ffaf9 /httemplate | |
parent | 16ff27b518da300ee5f8a907da8e1c67c2b9f1aa (diff) |
Set input form MAXLENGTH attributes to match actual field sizes.
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/part_virtual_field.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
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 #<B><%$vfieldpart or "(NEW)"%></B><BR><BR> <%ntable("#cccccc",2)%> <TR> <TD ALIGN="right">Name</TD> - <TD><INPUT TYPE="text" NAME="name" MAXLENGTH=15 VALUE="<% + <TD><INPUT TYPE="text" NAME="name" MAXLENGTH=32 VALUE="<% $part_virtual_field->name%>"></TD> </TR> <TR> @@ -54,7 +54,7 @@ Field #<B><%$vfieldpart or "(NEW)"%></B><BR><BR> % % 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 #<B><%$vfieldpart or "(NEW)"%></B><BR><BR> </TD> <TR> <TD ALIGN="right">Label</TD> - <TD><INPUT TYPE="text" NAME="label" MAXLENGTH="20" VALUE="<% + <TD><INPUT TYPE="text" NAME="label" MAXLENGTH="80" VALUE="<% $part_virtual_field->label%>"></TD> </TR> <TR> |