Use optional parameter to set column class
- Fixes the extremely long class name on the post versions view - Can now use one value instead of having to set th and td - Added missing column classes on all tables
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
<%= link_to "»", bulk_update_requests_path(search: { user_name: request.user.name }) %>
|
||||
<div><%= time_ago_in_words_tagged(request.created_at) %></div>
|
||||
<% end %>
|
||||
<% t.column do |request| %>
|
||||
<% t.column column: "control" do |request| %>
|
||||
<%= link_to "Show", bulk_update_request_path(request) %> |
|
||||
<%= render "bulk_update_requests/bur_edit_links", bur: request %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user