[Bps-public-commit] rt-extension-formtools branch, master, updated. 0.14-1-g16f9d0a
Alex Vandiver
alexmv at bestpractical.com
Fri Apr 4 11:34:55 EDT 2014
The branch, master has been updated
via 16f9d0ab9808ac294730e3a38fa3309f4e16c839 (commit)
from a263a69f84e01745c8dc39da1e1245070cc5e25a (commit)
Summary of changes:
html/FormTools/Field | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 16f9d0ab9808ac294730e3a38fa3309f4e16c839
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Thu Apr 3 17:36:43 2014 -0400
Use the SelectDate entry for the Due field
diff --git a/html/FormTools/Field b/html/FormTools/Field
index 5de5056..8052769 100644
--- a/html/FormTools/Field
+++ b/html/FormTools/Field
@@ -153,7 +153,9 @@ $default = '' unless defined $default;
% }
% }
-% } else {
+% } elsif ( $name eq "Due" ) {
+<& /Elements/SelectDate, Name => $name, Default => $default, current => 0, Size => ($cols || 20) &>
+$ } else {
<input type="text" name=<%$name%> size="<% $cols || 20 %>" value="<%$default%>">
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list