From c15d8e1c728ec8f1781ecefd911907eaf10015f5 Mon Sep 17 00:00:00 2001 From: Shana Moore Date: Thu, 27 Jun 2024 11:33:41 -0700 Subject: [PATCH 1/3] i51 - revert accidental delete In PR#2236 we accidentally deleted the word as from the view. ref: - https://github.com/samvera/hyku/pull/2236/files --- app/views/hyrax/dashboard/collections/_form_share.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/hyrax/dashboard/collections/_form_share.html.erb b/app/views/hyrax/dashboard/collections/_form_share.html.erb index 00b9e7ba0..07dd69490 100644 --- a/app/views/hyrax/dashboard/collections/_form_share.html.erb +++ b/app/views/hyrax/dashboard/collections/_form_share.html.erb @@ -28,6 +28,7 @@ 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..." }, From 7d74c986703808f69df566d96992eda1d88cdf42 Mon Sep 17 00:00:00 2001 From: Shana Moore Date: Thu, 27 Jun 2024 13:26:51 -0700 Subject: [PATCH 2/3] Update _form_share.html.erb --- app/views/hyrax/dashboard/collections/_form_share.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/hyrax/dashboard/collections/_form_share.html.erb b/app/views/hyrax/dashboard/collections/_form_share.html.erb index 07dd69490..53cae8403 100644 --- a/app/views/hyrax/dashboard/collections/_form_share.html.erb +++ b/app/views/hyrax/dashboard/collections/_form_share.html.erb @@ -28,7 +28,7 @@ Hyrax::Group.all.map { |g| [g.humanized_name, g.name] }, { prompt: "Select a group..." }, class: 'form-control' %> - as + as <%= builder.select :access, access_options, { prompt: "Select a role..." }, @@ -55,6 +55,7 @@ <%= builder.hidden_field :agent_type %> <%= builder.text_field :agent_id, placeholder: "Search for a user..." %> + as <%= builder.select :access, access_options, { prompt: "Select a role..." }, From 8a0945c48f6eb93bee3f35f8c759e99b54790dd8 Mon Sep 17 00:00:00 2001 From: Shana Moore Date: Tue, 2 Jul 2024 09:27:45 -0700 Subject: [PATCH 3/3] Update _form_share.html.erb --- app/views/hyrax/dashboard/collections/_form_share.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/hyrax/dashboard/collections/_form_share.html.erb b/app/views/hyrax/dashboard/collections/_form_share.html.erb index 53cae8403..56af41494 100644 --- a/app/views/hyrax/dashboard/collections/_form_share.html.erb +++ b/app/views/hyrax/dashboard/collections/_form_share.html.erb @@ -28,7 +28,7 @@ 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..." }, @@ -55,7 +55,7 @@ <%= builder.hidden_field :agent_type %> <%= builder.text_field :agent_id, placeholder: "Search for a user..." %> - as + <%= builder.select :access, access_options, { prompt: "Select a role..." },