Skip to content

Commit

Permalink
Populations served description placement.
Browse files Browse the repository at this point in the history
  • Loading branch information
JosueMagnus12 committed Nov 18, 2023
1 parent 25cf649 commit 4d20102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/organizations/edit.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4d20102

Please sign in to comment.