Subject: | Addition to TT2 sample code. |
I suggest including this small addition to the sample code provided in
the POD, so that
--- cpfb_orig.pm 2007-05-02 16:52:49.000000000 +0200
+++ cpfb_modified.pm 2007-05-02 16:52:33.000000000 +0200
@@ -259,6 +259,7 @@
[% formbuilder.start -%]
<div id="form">
[% FOREACH field IN formbuilder.fields -%]
+ [% IF field.type != 'hidden' %]
<p>
<label>
<span [% IF field.required
%]class="required"[%END%]>[%field.label%]</span>
@@ -271,6 +272,7 @@
[% END %]
</p>
[% END %]
+ [% END %]
<div id="submit">[% formbuilder.submit %]</div>
<div id="reset">[% formbuilder.reset %]</div>
</div>