[eluser]KeyStroke[/eluser]
I have a controller "Post" which has a function "edit_post" for editing posts. However, I can't figure out how this would work.
Are you supposed to use two functions for edits? like one that initially loads the form and populates it with data from the database; and another to process it, show errors and re-populate it with the data the user enters? how would that work in my "View"?
I want the user to edit the post and see the errors on the same form.
Appreciate your help