diff --git a/app/views/hyrax/dashboard/collections/_form_share.html.erb b/app/views/hyrax/dashboard/collections/_form_share.html.erb index c9e2d8eab..00b9e7ba0 100644 --- a/app/views/hyrax/dashboard/collections/_form_share.html.erb +++ b/app/views/hyrax/dashboard/collections/_form_share.html.erb @@ -1,8 +1,8 @@ <%# OVERRIDE Hyrax v5.0.0rc2 Use Hyrax::Groups for groups select box %> <% access_options = options_for_select([ - [t('hyrax.dashboard.collections.form_share.access_options.manager'), t('manage')], - [t('hyrax.dashboard.collections.form_share.access_options.depositor'), t('deposit')], - [t('hyrax.dashboard.collections.form_share.access_options.viewer'), t('view')]]) %> + [t('hyrax.dashboard.collections.form_share.access_options.manager'), 'manage'], + [t('hyrax.dashboard.collections.form_share.access_options.depositor'), 'deposit'], + [t('hyrax.dashboard.collections.form_share.access_options.viewer'), 'view']]) %>
@@ -28,7 +28,6 @@ Hyrax::Group.all.map { |g| [g.humanized_name, g.name] }, { prompt: "Select a group..." }, class: 'form-control' %> - as <%= builder.select :access, access_options, { prompt: "Select a role..." }, @@ -36,36 +35,34 @@
<% end %> <%= f.submit t('helpers.submit.hyrax_permission_template_access.create'), class: 'btn btn-info edit-collection-add-sharing-button ml-2', :disabled => true %> -
+ <% end %>
- <%= simple_form_for collection_permission_template_form_for(form: @form), - url: [hyrax, :dashboard, @form, :permission_template], - html: { id: 'user-participants-form' } do |f| %> -
+ <%= simple_form_for collection_permission_template_form_for(form: @form), + url: [hyrax, :dashboard, @form, :permission_template], + html: { id: 'user-participants-form' } do |f| %> +

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