Add '<div class="form-group">'

On create keypair form in launch instance workflow,
if you enter an existing name,
the key type field will also display a red error.

Change-Id: I136135a22087316b4697d6755d36e0cf995d4685
Closes-Bug: #1822539
This commit is contained in:
pengyuesheng
2019-04-01 14:48:07 +08:00
parent e4bc70b290
commit 67ae83b640
2 changed files with 6 additions and 0 deletions

View File

@@ -28,6 +28,9 @@
ng-show="(ctrl.doesKeypairExist() || wizardForm.$invalid) && wizardForm.$dirty">
{$ ctrl.keypairExistsError $}
</span>
</div>
<div class="form-group">
<label class="control-label required" translate>Key Type</label><span class="hz-icon-required fa fa-asterisk"></span>
<select class="form-control switchable ng-pristine ng-untouched ng-valid"
ng-model="key_type"

View File

@@ -22,6 +22,9 @@
<input class="form-control" name="name" id="keypair-name"
ng-model="ctrl.model.name"
ng-required="true"/>
</div>
<div class="form-group">
<label class="control-label required" translate>Key Type</label>
<span class="hz-icon-required fa fa-asterisk"></span>
<select class="form-control switchable ng-pristine ng-untouched ng-valid"