15 lines
389 B
Plaintext
15 lines
389 B
Plaintext
<h1>Users on <%= @bucket.name %></h1>
|
|
|
|
<%= form_with url: bucket_access_path, method: :put do |form| %>
|
|
<ul>
|
|
<% Current.account.users.active.each do |user| %>
|
|
<li>
|
|
<%= check_box_tag "user_ids[]", user.id, @bucket.users.include?(user), id: nil, disabled: user == Current.user %>
|
|
<%= user.name %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
|
|
<%= form.submit %>
|
|
<% end %>
|