Show error message when editor fails to initiate.
Move error_view's dom to template file.