Re render template when submit a form
- by Agusti-N
Hi, i've this problem:
I've a view that render a template and then retrive to the user the rendered template. Yesterday i want to add a form. The problem is when i submit this form to the same url that the view render the template, i have to re render the template with previusly data and then show the errors (if they are) in the form with the new renderd data, so i have to re render all the time the previusly information.
I've view a lot of examples, but ALL examples have the form in an externar html(separated)
How can avoid this ?