[Bps-public-commit] rt-extension-formtools branch, master, updated. b32f4b1ab7f05b6da644ccf332d17d686860914a

Shawn Moore sartak at bestpractical.com
Fri Nov 12 17:24:23 EST 2010


The branch, master has been updated
       via  b32f4b1ab7f05b6da644ccf332d17d686860914a (commit)
      from  2afaf49a4595387540d2db3bf84488b7f6533e2e (commit)

Summary of changes:
 html/FormTools/Field |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit b32f4b1ab7f05b6da644ccf332d17d686860914a
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date:   Fri Nov 12 17:24:30 2010 -0500

    core other input fields now respect cols argument

diff --git a/html/FormTools/Field b/html/FormTools/Field
index 3bcfd5e..8d132e4 100644
--- a/html/FormTools/Field
+++ b/html/FormTools/Field
@@ -106,7 +106,7 @@ unless ( $default ) {
 
 % } else {
 
-<input type="text" name=<%$name%> size="20" value="<%$default%>">
+<input type="text" name=<%$name%> size="<% $cols || 20 %>" value="<%$default%>">
 
 % }
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list