|
@@ -116,7 +116,7 @@
|
|
<% @columns.each_with_index do |key, i| %>
|
|
<% @columns.each_with_index do |key, i| %>
|
|
<% type = @column_types[i] %>
|
|
<% type = @column_types[i] %>
|
|
<th style="width: <%= header_width %>%;" data-sort="<%= type %>">
|
|
<th style="width: <%= header_width %>%;" data-sort="<%= type %>">
|
|
- <div style="min-width: <%= @min_width_types.include?(key) ? 180 : 60 %>px;">
|
|
|
|
|
|
+ <div style="min-width: <%= @min_width_types.include?(i) ? 180 : 60 %>px;">
|
|
<%= key %>
|
|
<%= key %>
|
|
</div>
|
|
</div>
|
|
</th>
|
|
</th>
|