-<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>