use to_html in render single and multiple