Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    <%= content_tag :div, "some text", class: 'foo', html: attrs %>
to keep it consistent with your haml example


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: