Now clicking cancel button returns user to previous page. Fixes issue 569.
commit10b91c404af9b9b4143809acabf52aba64b3c8a6
authorPawel Solyga <Pawel.Solyga@gmail.com>
Thu, 21 May 2009 11:25:11 +0000 (21 13:25 +0200)
committerPawel Solyga <Pawel.Solyga@gmail.com>
Thu, 21 May 2009 11:25:11 +0000 (21 13:25 +0200)
tree29e9917bf17b285a51915a7758e8a8d0b7850cdb
parent481d005ad40b92eb0f59297f2a09d37aa5a7c0a4
Now clicking cancel button returns user to previous page. Fixes issue 569.

If you don't want that behaviour you can define cancel_redirect and user will be redirected to given url on "Cancel" button click instead of redirecting to previous page.

Patch by: Daniel Hans & Pawel Solyga
app/soc/templates/soc/club_admin/manage.html
app/soc/templates/soc/club_member/manage.html
app/soc/templates/soc/host/manage.html
app/soc/templates/soc/mentor/manage.html
app/soc/templates/soc/models/edit.html
app/soc/templates/soc/org_admin/manage.html
app/soc/templates/soc/student/manage.html
app/soc/views/helper/params.py
app/soc/views/models/base.py
app/soc/views/models/student_project.py