Files
threshold-ui/ui/admin/app/components/form/host/index.hbs
T

23 lines
538 B
Handlebars
Raw Normal View History

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}
2022-02-10 17:57:19 -08:00
{{#if @model.compositeType}}
{{component
(concat 'form/host/' @model.compositeType)
model=@model
submit=@submit
cancel=@cancel
}}
{{else}}
2022-09-07 16:21:27 -04:00
{{! create-and-add-host cancel route doesn't
have a model and this else part is required to prevent
2022-02-11 11:26:22 -08:00
erroring out here. This has been noted in the tech debt doc to further investigate }}
2022-02-10 17:57:19 -08:00
{{component
(concat 'form/host/' 'static')
model=@model
submit=@submit
cancel=@cancel
}}
2022-10-06 11:41:12 -04:00
{{/if}}