split host catalog into other types
This commit is contained in:
1 parent
feec5d96f3
commit
f13a3ee18c
5 files changed
+15
-58
No files matched your search
@@ -9,3 +9,5 @@
|
||||
addAccountClaimMapItem=@addAccountClaimMapItem
|
||||
}}
|
||||
{{/if}}
|
||||
|
||||
{{{log @model 'mdelll'}}}
|
||||
@@ -6,7 +6,7 @@
|
||||
@showEditToggle={{if @model.isNew false true}} --}}
|
||||
as |form|
|
||||
>
|
||||
|
||||
AWASSS!
|
||||
<form.input
|
||||
@name='name'
|
||||
@type='name'
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
@showEditToggle={{if @model.isNew false true}} --}}
|
||||
as |form|
|
||||
>
|
||||
|
||||
AZURE!!
|
||||
<form.input
|
||||
@name='name'
|
||||
@type='name'
|
||||
|
||||
@@ -1,56 +1,11 @@
|
||||
<Rose::Form
|
||||
@onSubmit={{@submit}}
|
||||
@cancel={{@cancel}}
|
||||
@disabled={{@model.isSaving}}
|
||||
@error={{@model.errors.base}}
|
||||
@showEditToggle={{if @model.isNew false true}}
|
||||
as |form|
|
||||
>
|
||||
{{#if @model.compositeType}}
|
||||
{{component
|
||||
(concat 'form/host-catalog/' @model.compositeType)
|
||||
model=@model
|
||||
submit=@submit
|
||||
cancel=@cancel
|
||||
changeType=@changeType
|
||||
}}
|
||||
{{/if}}
|
||||
|
||||
<form.input
|
||||
@name='name'
|
||||
@type='name'
|
||||
@value={{@model.name}}
|
||||
@label={{t 'form.name.label'}}
|
||||
@helperText={{t 'form.name.help'}}
|
||||
@error={{@model.errors.name}}
|
||||
readonly={{false}}
|
||||
as |field|
|
||||
>
|
||||
{{#if @model.errors.name}}
|
||||
<field.errors as |errors|>
|
||||
{{#each @model.errors.name as |error|}}
|
||||
<errors.message>{{error.message}}</errors.message>
|
||||
{{/each}}
|
||||
</field.errors>
|
||||
{{/if}}
|
||||
</form.input>
|
||||
|
||||
<form.textarea
|
||||
@name='description'
|
||||
@type='description'
|
||||
@value={{@model.description}}
|
||||
@label={{t 'form.description.label'}}
|
||||
@helperText={{t 'form.description.help'}}
|
||||
@error={{@model.errors.description}}
|
||||
disabled={{@model.isSaving}}
|
||||
readonly={{false}}
|
||||
as |field|
|
||||
>
|
||||
{{#if @model.errors.description}}
|
||||
<field.errors as |errors|>
|
||||
{{#each @model.errors.description as |error|}}
|
||||
<errors.message>{{error.message}}</errors.message>
|
||||
{{/each}}
|
||||
</field.errors>
|
||||
{{/if}}
|
||||
</form.textarea>
|
||||
{{#if (can 'save model' @model)}}
|
||||
<form.actions
|
||||
@disabled={{if @model.cannotSave @model.cannotSave}}
|
||||
@enableEditText={{t 'actions.edit-form'}}
|
||||
@submitText={{t 'actions.save'}}
|
||||
@cancelText={{t 'actions.cancel'}}
|
||||
/>
|
||||
{{/if}}
|
||||
</Rose::Form>
|
||||
{{{log @model 'modede'}}}
|
||||
@@ -6,7 +6,7 @@
|
||||
@showEditToggle={{if @model.isNew false true}} --}}
|
||||
as |form|
|
||||
>
|
||||
|
||||
STATIC!!
|
||||
<form.input
|
||||
@name='name'
|
||||
@type='name'
|
||||
|
||||
Reference in new issue
Block a user