app/views/dorsale/users/index.html.slim in dorsale-3.0.3 vs app/views/dorsale/users/index.html.slim in dorsale-3.1.0
- old
+ new
@@ -1,5 +1,14 @@
.users
- .actions
- = create_button dorsale.new_user_path
+ - content_for :title
+ = icon(:users)
+ = " "
+ = User.ts
- = render "dorsale/users/list", users: @users
\ No newline at end of file
+ - content_for :actions
+ - if policy(User).create?
+ = create_button dorsale.new_user_path
+
+ - content_for :table
+ = render "dorsale/users/list", users: @users
+
+ = render_dorsale_index