diff --git a/app/views/hyrax/admin/admin_sets/_form_workflow.erb b/app/views/hyrax/admin/admin_sets/_form_workflow.erb new file mode 100644 index 000000000..a7381ef61 --- /dev/null +++ b/app/views/hyrax/admin/admin_sets/_form_workflow.erb @@ -0,0 +1,30 @@ +<%# OVERRIDE Hyrax v3.6.0 to hide custom mediated workflow for Hyku Commons %> + +
<%= t('.page_description') %>
+ <%# OVERRIDE begin %> + <% available_workflows = f.object.available_workflows.select { |wf| wf.name != 'hyku_commons_mediated_deposit' } %> + <%= f.collection_radio_buttons :workflow_id, available_workflows, :id, :label, item_wrapper_tag: :div, item_wrapper_class: "radio" do |b| %> + <%# OVERRIDE end %> + <%= b.radio_button + b.object.label %> +<%= b.object.description %>
+ <% end %> +<%= t('.no_workflows') %>
+