]> git.decadent.org.uk Git - maypole.git/commitdiff
some tidying of factory templates
authorAaron Trevena <aaron.trevena@gmail.com>
Thu, 2 Nov 2006 16:56:43 +0000 (16:56 +0000)
committerAaron Trevena <aaron.trevena@gmail.com>
Thu, 2 Nov 2006 16:56:43 +0000 (16:56 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@544 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole/templates/factory/search_form

index 8aef790fcbb87a778f1b831a2986c8f0f6087e61..4882b7d7de5290cb3bae8f68482d0100651b6fa9 100644 (file)
   <label>
      <span class="field">[% classmetadata.colnames.$col; %]</span>
      [% SET element = classmetadata.cgi.$col;
-      IF element.tag == "select";
-      USE element_maker = Class("HTML::Element");
-      SET element = element.unshift_content(
-      element_maker.new("option", value," "));
-      END;
       element.as_XML; %]
   </label>
 [% END; %]