table builder: add 'striped' css class by default.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div id="a-index">
|
||||
<h1>News Updates</h1>
|
||||
|
||||
<%= table_for @news_updates, {class: "striped", width: "100%"} do |t| %>
|
||||
<%= table_for @news_updates, width: "100%" do |t| %>
|
||||
<% t.column "Creator" do |news_update| %>
|
||||
<%= link_to_user news_update.creator %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user