X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ex%2Ffancy_example%2Ftemplates%2Fcustom%2Fdisplay_search_inputs;h=9985bfbd58e6b8d7d23d1326417d7c1d1179027b;hb=d813b3413bbd58789200c2ef02c7386e33cabe00;hp=ee1d586acfb26e83a95952d5441904c729efd312;hpb=7bb021648c28d2f70ec2853f0d01dd49c6437460;p=maypole.git diff --git a/ex/fancy_example/templates/custom/display_search_inputs b/ex/fancy_example/templates/custom/display_search_inputs index ee1d586..9985bfb 100644 --- a/ex/fancy_example/templates/custom/display_search_inputs +++ b/ex/fancy_example/templates/custom/display_search_inputs @@ -20,6 +20,7 @@ errors -- hash of errors keyed on columns SET cgi = classmetadata.cgi; SET delimiter = this.foreign_input_delimiter; FOR field IN srch_fields; + NEXT IF !cgi.$field; # Recursivly call this tmeplate if we have foreign field # (hash of foreign inputs should come with it) IF ( cgi.$field.keys );