Standardize use of column width parameter
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<%= render "search", :path => pools_path %>
|
||||
|
||||
<%= table_for @pools, width: "100%" do |t| %>
|
||||
<% t.column "Name", {width: "60%"} do |pool| %>
|
||||
<% t.column "Name", width: "60%" do |pool| %>
|
||||
<span class="pool-category-<%= pool.category %>"><%= link_to pool.pretty_name, pool_path(pool) %></span>
|
||||
<% if pool.is_deleted? %>
|
||||
<span class="inactive">(deleted)</span>
|
||||
@@ -12,7 +12,7 @@
|
||||
<%= link_to "page #{pool.last_page}", pool_path(pool, :page => pool.last_page), :class => "last-page" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% t.column "Count", {width: "10%"} do |pool| %>
|
||||
<% t.column "Count", width: "10%" do |pool| %>
|
||||
<%= pool.post_count %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user