diff options
Diffstat (limited to 'catalog-ui/src/app')
-rw-r--r-- | catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html b/catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html index f9854e2256..5035ef2015 100644 --- a/catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html +++ b/catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html @@ -76,7 +76,21 @@ </div> <!--------------------- NAME --------------------> - + <!--------------------- Model --------------------> + <div class="i-sdc-form-item"> + <label class="i-sdc-form-label required">Model</label> + <select class="i-sdc-form-select" + name="modelName" + data-ng-class="{'view-mode': isViewMode()}" + data-ng-disabled="!isCreateMode()" + data-ng-model="component.model" + data-ng-change="onModelChange()" + data-tests-id="modelName" + ng-required="isModelRequired"> + <option ng-repeat="model in models" value="{{model.id}}">{{model.name}}</option> + </select> + </div> + <!--------------------- Model --------------------> <!--------------------- CATEGORIES --------------------> <div class="i-sdc-form-item" @@ -609,22 +623,6 @@ <!--------------------- Base Type --------------------> - <!--------------------- Model --------------------> - <div class="i-sdc-form-item"> - <label class="i-sdc-form-label required">Model</label> - <select class="i-sdc-form-select" - name="modelName" - data-ng-class="{'view-mode': isViewMode()}" - data-ng-disabled="!isCreateMode()" - data-ng-model="component.model" - data-ng-change="onModelChange()" - data-tests-id="modelName" - ng-required="isModelRequired"> - <option ng-repeat="model in models" value="{{model.id}}">{{model.name}}</option> - </select> - </div> - <!--------------------- Model --------------------> - <div class="meta-data" data-ng-if="component.creationDate"> <div> <b>Created:</b> |