Re: Building table headers based on instance of model

2013-04-12 Thread Tom Evans
On Fri, Apr 12, 2013 at 11:57 PM, Nick D wrote: > Hi again! > > I'm looking to create a table based on a model. I'm trying to make it simple > and reusable. I want to build the table headers () based on the fields > in the model. Given a specific model, is there a way to dynamically build > the he

Building table headers based on instance of model

2013-04-12 Thread Nick D
Hi again! I'm looking to create a table based on a model. I'm trying to make it simple and reusable. I want to build the table headers () based on the fields in the model. Given a specific model, is there a way to dynamically build the headers in the template? Thanks! -- You received this