[Bps-public-commit] r10269 - in RT-FormTools: .
falcone at bestpractical.com
falcone at bestpractical.com
Wed Jan 9 10:05:25 EST 2008
Author: falcone
Date: Wed Jan 9 10:05:24 2008
New Revision: 10269
Modified:
RT-FormTools/ (props changed)
RT-FormTools/html/FormTools/Field
Log:
r28211 at ketch: falcone | 2008-01-09 09:59:18 -0500
* add a render_as date option
Modified: RT-FormTools/html/FormTools/Field
==============================================================================
--- RT-FormTools/html/FormTools/Field (original)
+++ RT-FormTools/html/FormTools/Field Wed Jan 9 10:05:24 2008
@@ -77,6 +77,8 @@
% }
><% $value->Name%><br/>
% }
+% } elsif ($render_as =~ /^date/i) {
+<& /Elements/SelectDate, Name => $NamePrefix.$cf->Id."-Values", current => 0 &>
% } else {
% die "'$render_as' isn't a valid rendering option for field '$name'";
%}
More information about the Bps-public-commit
mailing list