search for: table_head

Displaying 2 results from an estimated 2 matches for "table_head".

Did you mean: tablehead
2007 Jan 25
2
Need help for Helper
...a table in my customized style. I wrote a code like this: template.rhtml: <% @column_names = ["Name", "Age", "Sex"] %> <%= table_show @column_name %> helper.rb def table_show(names) for name in names content_tag ( :div, name, :class => ''table_header'' ) end end Which should give me an output like this: <div class=''table_header''>Name</div> <div class=''table_header''>Age</div> <div class=''table_header''>Sex</div> Unfortunately I have only...
2007 Mar 24
3
Patch for superredcloth to enable textile table headers
SuperRedCloth v1.160 and svn rev 163 don''t work the textile commands that specify table headers instead of table data. Here''s a simple test: require ''superredcloth'' w = "|_. a|_. b|_. c|\n|1|2|3|" h = SuperRedCloth.new(w).to_html puts h <table> <tr> <td>_. a</td>