app/views/wobauth/users/index.html.erb in wobauth-5.1.3 vs app/views/wobauth/users/index.html.erb in wobauth-6.0.0

- old
+ new

@@ -2,11 +2,11 @@ <div data-controller="datatables"> <%= content_tag :table, id: :wobauth_users, role: :wobauth_datatable, class: "table table-bordered table-striped", data: { - target: 'datatables.datatable', + "datatables-target": 'datatable', } do %> <thead> <tr> <th><%= t('attributes.name') %></th> <th class="notvisible"><%= t('attributes.sn') %></th> @@ -24,10 +24,10 @@ </tr> </thead> <tbody> <% @users.each do |user| %> - <%= content_tag(:tr, dom_id(user)) do %> + <%= content_tag(:tr, id: dom_id(user), class: dom_class(user)) do %> <td><%= user %></td> <td><%= user.sn %></td> <td><%= user.givenname %></td> <td><%= user.title %></td> <td><%= user.username %></td>