1

How would you translate this into a Rails content_tag?

<td rowspan="4">glah</td>
keruilin
  • 16,782
  • 34
  • 108
  • 175
  • I've used the content tag, but how do I specify the rowspan using a content tag helper? Haven't seen an examples pop-up. content_tag(:td, "glah") – keruilin Aug 07 '11 at 03:08

1 Answers1

0

What about:

content_tag(:td, "glah", :rowspan => '4')
Nicolas Buduroi
  • 3,565
  • 1
  • 28
  • 29