salve a tutti,vorrei fare una lista con le righe di colore differenziato
a questo punto ho aggiunto nella mia view il seguente codice
<% for user in @users %>
<td width="60%">
<%= user.name%>
</td>
<td class="list-actions">
<%= link_to 'Show', :action => 'show', :id => user %>
<%= link_to 'Edit', :action => 'edit', :id => user %>
<%= link_to 'Destroy', { :action => 'destroy', :id => user },
:confirm => "Are you sure?",
:method => :post %>
</td>
</tr>
<% end %>
nella cartella stylesheets ho aggiunto il file css caffold.css e le
seguenti righe
user tr. evenrow (background-color: white;)
user tr. oddrow (background-color: red;)
ma non funziona qualcuno mi puo aiutare ?
Grazie Fdibenedetto