When a user (student) goes to view a workshop with a password, there are a number of errors on the page that is displayed.
The form isn't closed, incorrect js is used (not compatable with all browsers), if will not function with js turned off, and the page footer is not printed.
The attached diff should address all those problems.
I know workshop is getting a major overhall for 2.0, but it would be nice if this fix could make it in for 1.9.5 - I can commit it if there isn't any objection.
- is duplicated by
MDL-17077 Password submision in Workshop module