Displaying 1 result from an estimated 1 matches for "tablehack".
2006 Jan 28
0
Auto drop list: Create a form professional or easy?
...' %>
<%= submit_tag ''Edit'' %>
<%= end_form_tag %>
If you do it like below, it looks really good and feels flexible, but that
won''t auto-create the droplists.
<%= start_form_tag :action=> "create_product" %>
<table class="tablehack">
<tr><th>Field</th><th>Contents</th></tr>
<% for column in Product.content_columns %>
<tr class="ListLine<%= cycle("0","1") %>">
<td><%= column.human_name %>:</td>
<td>...