Re: bound field object - dynamic forms

2012-09-06 Thread Tom Evans
On Wed, Sep 5, 2012 at 9:18 PM, mjh wrote: > yes it is being passed to the template as I can access the label, choices, > help_text, required items of the boundfield object... > > i.e., {{ issue.label }} {{ issue.choices }} {{ issue.help_text }} > > I can get everything it seems apart from the for

Re: bound field object - dynamic forms

2012-09-05 Thread mjh
yes it is being passed to the template as I can access the label, choices, help_text, required items of the boundfield object... i.e., {{ issue.label }} {{ issue.choices }} {{ issue.help_text }} I can get everything it seems apart from the form object !!! {{ issue }} writes to the template:

Re: bound field object - dynamic forms

2012-09-05 Thread Amyth Arora
check if it is being passed to template. {% if issue %} {{ issue }} {% else %} Issue was not passed #Debug {% endif %} On Wed, Sep 5, 2012 at 8:45 PM, Mando wrote: > are you passing it to the template? > > > On Wednesday, September 5, 2012 7:09:57 AM UTC-5, mjh wrote: >> >> tried {{ issue.x

Re: bound field object - dynamic forms

2012-09-05 Thread Mando
are you passing it to the template? On Wednesday, September 5, 2012 7:09:57 AM UTC-5, mjh wrote: > > tried {{ issue.x }} x = 0,1,2,3 but nothing is displayed in the template > > any other thoughts? > > On Monday, 3 September 2012 22:53:03 UTC+1, somecallitblues wrote: >> >> Try {{ issue.0}} and {{

Re: bound field object - dynamic forms

2012-09-05 Thread mjh
tried {{ issue.x }} x = 0,1,2,3 but nothing is displayed in the template any other thoughts? On Monday, 3 September 2012 22:53:03 UTC+1, somecallitblues wrote: > > Try {{ issue.0}} and {{ issue.1}} > On Sep 4, 2012 5:55 AM, "mjh" > > wrote: > >> Hi all - not sure how to show the choicefield drop

Re: bound field object - dynamic forms

2012-09-03 Thread Mario Gudelj
Try {{ issue.0}} and {{ issue.1}} On Sep 4, 2012 5:55 AM, "mjh" wrote: > Hi all - not sure how to show the choicefield dropdown in my template? > > Am generating a dynamic form (note: for issue in issues in forms.py) and > appending the fields to self.issue_list > > in the template I am looping

bound field object - dynamic forms

2012-09-03 Thread mjh
Hi all - not sure how to show the choicefield dropdown in my template? Am generating a dynamic form (note: for issue in issues in forms.py) and appending the fields to self.issue_list in the template I am looping over these fields ({% for issue in form.issue_list %}) and can write out the lab