GDPR Actions
<%= form_with url: admin_gdpr_delete_requests_path, method: :get, local: true, class: "grow-1 mb-3 m:mb-0" do |f| %>
<%= paginate @gdpr_delete_requests, theme: "admin", scope: @gdpr_delete_requests, label: "Paginate GDPR actions", context: "top" %>
<%= render "admin/users/controls/search_field", f: f, placeholder: "Search members...", aria_label: "Search members by email or username", context: "large" %>
<% end %>
These accounts have been deleted from the community. Ensure that any data held in external databases or mailing lists is deleted before marking as "Deleted."
Deleted members
<% @gdpr_delete_requests.each do |r| %>
@<%= r.username %>
<%= r.email %>
Deleted on
<%= r.created_at.strftime("%d %b, %Y") %>
<%= crayons_icon_tag("checkmark", aria_hidden: true) %> Deleted
<% end %>
">
Deleted member
Email address
Deleted on
Actions
<% @gdpr_delete_requests.each do |r| %>
@<%= r.username %>
<%= r.email %>
<%= r.created_at.strftime("%d %b, %Y") %>
<%= crayons_icon_tag("checkmark", aria_hidden: true) %> Deleted
<% end %>
<% if @gdpr_delete_requests.empty? %>
Awesome! All GDPR actions have been completed.
Check back again when you delete a member.
<% end %>
<%= paginate @gdpr_delete_requests, theme: "admin", scope: @gdpr_delete_requests, label: "Paginate GDPR actions", context: "bottom" %>