Re: edit a submitted form-load it on template

2012-08-07 Thread Alexis Roda
Al 07/08/12 14:04, En/na mapapage ha escrit: $(document).ready(function () { $("a").on("click", function(event) { event.preventDefault(); var id = $(this).attr("id"); $.get("edit_wreqs"+"/"+id+"/", function(data) { }); }); }); Disclaimer: I don't use jquery myself. My response is based on my

edit a submitted form-load it on template

2012-08-07 Thread mapapage
I have an app where a user submits some forms. Now I want the user to be able to edit his previous submitted forms. So on the template(e.g old_Webrequests.html) I just load a list with links corresponding to every submitted form(view:old_Webreqs(request,user_id)). {% for a in all_reqs %} {{ a }