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:
@@ -15,7 +15,7 @@
|
||||
<% t.column "Date" do |change_request| %>
|
||||
<%= compact_time change_request.created_at %>
|
||||
<% end %>
|
||||
<% t.column do |change_request| %>
|
||||
<% t.column column: "control" do |change_request| %>
|
||||
<%= link_to "view", user_name_change_request_path(change_request) %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user