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:
@@ -10,7 +10,7 @@
|
||||
<%= link_to_user ip_ban.creator %>
|
||||
<% end %>
|
||||
<% t.column :reason %>
|
||||
<% t.column do |ip_ban| %>
|
||||
<% t.column column: "control" do |ip_ban| %>
|
||||
<%= link_to "Unban", ip_ban_path(ip_ban), :remote => true, :method => :delete, :data => {:confirm => "Do your really want to unban #{ip_ban.ip_addr}?"} %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user