Standardize use of column width parameter

This commit is contained in:
BrokenEagle
2020-01-13 21:12:45 +00:00
parent 3ab2c4c3ea
commit 63203d24cc
11 changed files with 39 additions and 39 deletions

View File

@@ -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 %>