logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [FormBuilder] can't render form in TT2: msg#00008

Subject: Re: [FormBuilder] can't render form in TT2
Hello Mark!
I am using Catalyst::Plugin::FormBuilder,
which automatically assigns the form to a TT2 variable.

The strange thing is that the labels are displayed but not the fields 
themselves.

[% field.label %] produces output
[% field.field %] does not

Here's the code.

FB YAML fil
------------
name: foo
method: post

fields:
     one:
          type: text
          required: 1
     two:
          type: text
          required: 0

Catalyst action
---------------

sub form : Local Form {
     my ($self, $c) = @_;
     
     $c->stash->{template} = 'test/form.tt2';
}


-FC




_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com


_______________________________________________
FBusers mailing list
FBusers@xxxxxxxxxxxxxxx
http://www.formbuilder.org/mailman/listinfo/fbusers




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>