Review copy

This commit is contained in:
Jorge Manrubia
2025-09-17 18:59:41 +02:00
parent 74193f8140
commit a7b6dbdc7a
+4 -1
View File
@@ -21,7 +21,10 @@
<div>Choose who can access this Collection</div>
</header>
<%= form_with model: @collection, class: "display-contents", data: { controller: "form collections-form", collections_form_self_removal_prompt_message_value: "You're about to remove yourself from this collection. Other members will need to add you back. Are you sure?", action: "turbo:submit-start->collections-form#submitWithWarning" } do |form| %>
<%= form_with model: @collection, class: "display-contents", data: {
controller: "form collections-form",
collections_form_self_removal_prompt_message_value: "Youre about to lose access to this collection. To regain access, another user will need to add you back. Are you sure you want to continue?",
action: "turbo:submit-start->collections-form#submitWithWarning" } do |form| %>
<%= render "collections/edit/name", form: form %>
<%= render "collections/edit/users", collection: @collection, selected_users: @selected_users, unselected_users: @unselected_users, form: form %>