Issue with form_builder render_divs function

edited September 2011 in Bug Reports
In my controller I am able to successfully call
$this->fuel_page->render();

but if I change it to
$this->fuel_page->render_divs();

I get an error call to undefined method. Is this a bug?

Comments

  • edited 6:50AM
    render_divs is a method on the form_builder class. Did you see that somewhere in the documentation where it may need to be corrected?
  • I just saw the method in the documentation and figured that if i'm using render(), that I could use render_divs() and it would render it with divs rather than table format. I know that I can set the render_format to divs when loading the class, but I just figured that if I didn't do it that way, i'd be able to just call render_divs() rather than render(). Is this not the case?
  • edited 6:50AM
    Your assumption is correct I think. However, the example above is using the fuel_page class and not the form_builder class.
  • Oh yep I see that now. Thanks for pointing that out.
Sign In or Register to comment.