aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models
diff options
context:
space:
mode:
authoraribeiro <anderson.ribeiro@est.tech>2021-09-02 18:19:43 +0100
committerMichael Morris <michael.morris@est.tech>2021-09-02 22:37:55 +0000
commit84e478592488c8bcbc01b820b3862ce0d839a7bd (patch)
treee42800037584de4598c6e100f891e24541bb2d24 /catalog-ui/src/app/view-models
parent9ca5c24aece0dc98d37579dc6eae49f26cc77cda (diff)
Move position of Model on create screen
Issue-ID: SDC-3712 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: I8e2ed84dbedef897588a621a4f627bc75f4a7281
Diffstat (limited to 'catalog-ui/src/app/view-models')
-rw-r--r--catalog-ui/src/app/view-models/workspace/tabs/general/general-view.html32
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>