Replace link_to_remote to preview_link method.
Replace observe_form to submit_tag method.
Delete observe_field method.
Replace observe_form to link_to method.
change requirements for redmine-2.1