Show different page for local org users when adding new service

This commit is contained in:
Pea Tyczynska
2020-07-01 11:49:11 +01:00
parent a381c6d37d
commit d0dd6218f7
2 changed files with 8 additions and 1 deletions

View File

@@ -80,6 +80,13 @@ def add_service():
template_id=example_sms_template['data']['id']
))
else:
if default_organisation_type == 'local':
return render_template(
'views/add-service-local.html',
form=form,
heading=heading,
default_organisation_type=default_organisation_type,
)
return render_template(
'views/add-service.html',
form=form,