diff --git a/app/views/guidances/new_edit.html.erb b/app/views/guidances/new_edit.html.erb index e2109152e1..d250c9ccae 100644 --- a/app/views/guidances/new_edit.html.erb +++ b/app/views/guidances/new_edit.html.erb @@ -34,7 +34,7 @@ end <%= f.label _('Guidance group'), for: :guidance_group_id, class: 'form-label' %> <%= f.collection_select(:guidance_group_id, GuidanceGroup.where(org_id: current_user.org_id).order("name ASC"), - :id, :name, {prompt: false}, {multiple: false, 'data-toggle': 'tooltip', title: _('Select which group this guidance relates to.'), class: 'form-control', 'aria-required': true})%> + :id, :name, {prompt: false}, {multiple: false, 'data-toggle': 'tooltip', title: _('Select which group this guidance relates to.'), class: 'form-select', 'aria-required': true})%>
<%= f.label :published do %> diff --git a/app/views/org_admin/questions/_form.html.erb b/app/views/org_admin/questions/_form.html.erb index 5d715390d1..2db4529dda 100644 --- a/app/views/org_admin/questions/_form.html.erb +++ b/app/views/org_admin/questions/_form.html.erb @@ -32,7 +32,7 @@ :title, question.question_format_id), {}, - class: "form-control question_format", + class: "form-select question_format", 'data-toggle': 'tooltip', 'data-html': true, title: _("You can choose from:") diff --git a/app/views/plans/_download_form.html.erb b/app/views/plans/_download_form.html.erb index 7c53f680f4..b5a08182a7 100644 --- a/app/views/plans/_download_form.html.erb +++ b/app/views/plans/_download_form.html.erb @@ -16,9 +16,9 @@
-
+
- <%= _("Optional plan components") %> + <%= label_tag('', _("Optional plan components"), class: 'form-label') %>
<%= label_tag 'export[project_details]', class:'form-check-label' do %> <%= check_box_tag 'export[project_details]', true, download_coversheet_tickbox_checked %> diff --git a/app/views/plans/_project_details.html.erb b/app/views/plans/_project_details.html.erb index a147190a43..48eada3e92 100644 --- a/app/views/plans/_project_details.html.erb +++ b/app/views/plans/_project_details.html.erb @@ -50,7 +50,7 @@ ethics_report_tooltip = _("Link to a protocol from a meeting with an ethics comm include_blank: _("- Please select one -"), selected: form.object.research_domain_id }, - { class: "form-control" } %> + { class: "form-select" } %>
<% end %> @@ -171,7 +171,7 @@ ethics_report_tooltip = _("Link to a protocol from a meeting with an ethics comm include_blank: _("- Please select one -"), selected: form.object.funding_status }, - { class: "form-control" } %> + { class: "form-select" } %>
<%= form.fields_for :grant, plan.grant do |grant_fields| %>
diff --git a/app/views/research_outputs/_form.html.erb b/app/views/research_outputs/_form.html.erb index 6a6c15f51f..7b3a016e89 100644 --- a/app/views/research_outputs/_form.html.erb +++ b/app/views/research_outputs/_form.html.erb @@ -23,7 +23,7 @@ repository_tooltip = _("Repositories preserve, manage, and provide access to man include_blank: _("- Please select one -"), selected: (research_output.output_type.present? ? research_output.output_type : "" ) }, { - class: "form-control", + class: "form-select", aria: { required: true, label: _("Research output type") }, data: { remote: true, url: plan_output_type_selection_path(plan), method: :get } } %> @@ -140,7 +140,7 @@ repository_tooltip = _("Repositories preserve, manage, and provide access to man <%= f.label(:access, _("Initial access level"), class: "form-label") %> <%= f.select :access, options_for_select(presenter.selectable_access_types, f.object.access), { selected: f.object.access }, - { class: "form-control" } %> + { class: "form-select" } %>
diff --git a/app/views/super_admin/notifications/_form.html.erb b/app/views/super_admin/notifications/_form.html.erb index d99b0f700e..dc9178d739 100644 --- a/app/views/super_admin/notifications/_form.html.erb +++ b/app/views/super_admin/notifications/_form.html.erb @@ -16,7 +16,7 @@ <%= f.select :level, Notification.levels.keys.map { |l| [l.humanize, l] }, { value: @notification.level }, - { class: 'form-control', + { class: 'form-select', data: { toggle: 'tooltip', html: true }, title: _('Info: Simple information message, displayed in blue.
Warning: warning message, for signaling something unusual, displayed in orange.
Danger: error message, for anything critical, displayed in red') } %>