[Bps-public-commit] r10270 - in RT-FormTools: .

falcone at bestpractical.com falcone at bestpractical.com
Wed Jan 9 10:05:34 EST 2008


Author: falcone
Date: Wed Jan  9 10:05:33 2008
New Revision: 10270

Modified:
   RT-FormTools/   (props changed)
   RT-FormTools/html/FormTools/Field

Log:
 r28212 at ketch:  falcone | 2008-01-09 09:59:38 -0500
 * default checkboxes to a horizontal display, like radio buttons
   allowing the vertical flag like radio buttons


Modified: RT-FormTools/html/FormTools/Field
==============================================================================
--- RT-FormTools/html/FormTools/Field	(original)
+++ RT-FormTools/html/FormTools/Field	Wed Jan  9 10:05:33 2008
@@ -75,7 +75,11 @@
 %  if ($default) {
             <% ($default eq $value->Name) ? 'CHECKED' : '' %>
 % }
-            ><% $value->Name%><br/>
+            ><% $value->Name%>
+%        if ($render_as =~ /vertical/) { 
+            <br/>
+%        }
+
 % }
 % } elsif ($render_as =~  /^date/i)  {
 <& /Elements/SelectDate, Name => $NamePrefix.$cf->Id."-Values", current => 0 &>



More information about the Bps-public-commit mailing list