Added root_path option instead of html attributes