Browse Source

missing validation for manaing org

juris_katrina_test
JG 2 years ago
parent
commit
40447f80bd
  1. 2
      app/controllers/schemes_controller.rb
  2. 2
      config/locales/en.yml

2
app/controllers/schemes_controller.rb

@ -111,6 +111,8 @@ private
def current_template(page)
if page.include?("primary")
"schemes/primary_client_group"
elsif page.include?("support-services-provider")
"schemes/support_services_provider"
elsif page.include?("confirm")
"schemes/confirm_secondary"
elsif page.include?("secondary-client")

2
config/locales/en.yml

@ -45,6 +45,8 @@ en:
attributes:
owning_organisation_id:
invalid: "Enter the existing organisation’s name"
managing_organisation_id:
invalid: "Enter the existing organisation’s name"
service_name:
invalid: "Enter the scheme’s name"
scheme_type:

Loading…
Cancel
Save