]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/messages/_messages_table.html.erb
Don't change display property of messages table header cell
[rails.git] / app / views / messages / _messages_table.html.erb
index 2e33962328f6eb83a3119b5024341919c66c4f8f..567b5e8283ab4b5a60a62071f75cfa3216050dce 100644 (file)
@@ -1,13 +1,13 @@
-<table class="table table-sm align-middle">
+<table class="table table-sm align-middle messages-table">
   <thead>
     <tr>
       <% columns.each do |column| %>
       <th><%= t ".#{column}" %></th>
       <% end %>
-      <th class="d-flex justify-content-end"><%= t ".actions" %></th>
+      <th class="text-end"><%= t ".actions" %></th>
     </tr>
   </thead>
   <tbody>
-    <%= render :partial => inner_partial, :collection => messages %>
+    <%= render :partial => inner_partial, :collection => messages, :as => "message" %>
   </tbody>
 </table>