<% access_options = options_for_select([[t('.manager'), 'manage'], [t('.depositor'), 'deposit'], [t('.viewer'), 'view']]) %>

<%= t('.note') %>

<%= t('.add_sharing') %>

<%= simple_form_for collection_permission_template_form_for(form: @form), url: [hyrax, :dashboard, @form, :permission_template], html: { id: 'group-participants-form' } do |f| %> <% end %>
<%= simple_form_for collection_permission_template_form_for(form: @form), url: [hyrax, :dashboard, @form, :permission_template], html: { id: 'user-participants-form' } do |f| %> <% end %>

<%= t('hyrax.admin.admin_sets.form.note') %>

<%= t(".current_shared") %> <%= render 'form_share_table', access: 'managers', filter: :manage? %> <%= render 'form_share_table', access: 'depositors', filter: :deposit? %> <%= render 'form_share_table', access: 'viewers', filter: :view? %>