From 4d20102abfc2fd0ceba1003d9bc0aef76882feb4 Mon Sep 17 00:00:00 2001 From: Josue Granados Date: Fri, 17 Nov 2023 19:03:38 -0600 Subject: [PATCH] Populations served description placement. --- app/views/organizations/edit.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/organizations/edit.html.slim b/app/views/organizations/edit.html.slim index c616ec8ea..d099d2a56 100644 --- a/app/views/organizations/edit.html.slim +++ b/app/views/organizations/edit.html.slim @@ -183,10 +183,10 @@ div class="w-full h-full bg-grey-9" div class="grid grid-cols-12 gap-6 mt-8" div class="col-span-12 lg:col-span-6 md:col-span-7" data-controller="options general-population" data-options-options-value=@beneficiaries data-general-population-disabled-class="pointer-events-none" = f.label :beneficiary_subcategories, "Which target populations (beneficiaries) does your organization serve?", class: "block text-sm text-gray-3 font-medium" - = render SelectMultiple::Component.new(f: f, klass: "Beneficiary", items: @beneficiary_groups, selected: @organization.beneficiary_subcategories.pluck(:name), placeholder: "Write populations served", options: { data: { general_population_target: "specificPopulationsContainer" } }) - p class="text-sm text-gray-4 mt-1" + p class="text-sm text-gray-4 mt-2 mb-5" | Selections should only be made if your organization specifically serves that group through your programs. If your organization generally serves all populations, check the box | “We generally serve all populations” below. This will then appear on your organizations profile under Populations Served. + = render SelectMultiple::Component.new(f: f, klass: "Beneficiary", items: @beneficiary_groups, selected: @organization.beneficiary_subcategories.pluck(:name), placeholder: "Write populations served", options: { data: { general_population_target: "specificPopulationsContainer" } }) div class="flex items-center gap-x-2 mt-3.5" = f.check_box :general_population_serving, class: "h-4 w-4 rounded-md text-blue-medium focus:border-0 focus:ring-0 focus:ring-transparent", data: { general_population_target: "generalPopulationCheckbox", action: "change->general-population#clearSelectedPopulations" } = f.label :general_population_serving, class: "text-sm text-black"