[Bps-public-commit] rt-extension-formtools branch, master, updated. 0.07_02-11-gec570e7

Kevin Falcone falcone at bestpractical.com
Mon May 9 11:27:28 EDT 2011


The branch, master has been updated
       via  ec570e78419e4194ec687ff8b376bb4278ea65e2 (commit)
      from  6bf36a3bdd7cb5956632df193c92034297fd2f90 (commit)

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

- Log -----------------------------------------------------------------
commit ec570e78419e4194ec687ff8b376bb4278ea65e2
Author: Kevin Falcone <kevin at jibsheet.com>
Date:   Mon May 9 11:27:16 2011 -0400

    Revert "render_as => 'hidden' for custom fields"
    
    This reverts commit 6bf36a3bdd7cb5956632df193c92034297fd2f90.
    
    This doesn't compile, move it to a branch where it does

diff --git a/html/FormTools/Field b/html/FormTools/Field
index fa5d94a..428a0c3 100644
--- a/html/FormTools/Field
+++ b/html/FormTools/Field
@@ -113,9 +113,7 @@ unless ( $default ) {
 % } else { # CF
 
 
-% if ($render_as eq 'hidden') {
-    <input type="hidden" class="hidden" name=<% $input_name %> value="<% $default %>">
-% } elsif ($render_as eq 'normal') {
+% if ($render_as eq 'normal') {
     <& /Elements/EditCustomField, Object => $queue, CustomField => $cf, NamePrefix => $NamePrefix, 
             ($cf->Type =~ /text/i) ? (Cols => $cols ||60) : (),
             ($cf->Type =~ /freeform/i) ? (Cols => $cols ||30) : (),

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



More information about the Bps-public-commit mailing list