Merge "Revert "Add required mark on Create and Update image form""

This commit is contained in:
Zuul 2020-08-19 14:16:17 +00:00 committed by Gerrit Code Review
commit f00f013f16
2 changed files with 4 additions and 8 deletions

View File

@ -201,7 +201,7 @@
<div class="form-group required"
ng-class="{'has-error':imageForm.min_disk.$invalid && imageForm.min_disk.$dirty}">
<label class="control-label" for="imageForm-min_disk">
<translate>Minimum Disk (GB)</translate><span class="hz-icon-required fa fa-asterisk"></span>
<translate>Minimum Disk (GB)</translate>
</label>
<input id="imageForm-min_disk" name="min_disk"
type="number" class="form-control"
@ -216,7 +216,7 @@
<div class="form-group required"
ng-class="{'has-error':imageForm.min_ram.$invalid && imageForm.min_ram.$dirty}">
<label class="control-label required">
<translate>Minimum RAM (MB)</translate><span class="hz-icon-required fa fa-asterisk"></span>
<translate>Minimum RAM (MB)</translate>
</label>
<input id="imageForm-min_ram" name="min_ram"
type="number" class="form-control"

View File

@ -88,9 +88,7 @@
<div class="col-xs-6 col-sm-3">
<div class="form-group required"
ng-class="{'has-error':imageForm.min_disk.$invalid && imageForm.min_disk.$dirty}">
<label class="control-label" for="imageForm-min_disk">
<translate>Minimum Disk (GB)</translate><span class="hz-icon-required fa fa-asterisk"></span>
</label>
<label class="control-label" for="imageForm-min_disk" translate>Minimum Disk (GB)</label>
<input id="imageForm-min_disk" name="min_disk"
type="number" class="form-control"
ng-required="true"
@ -105,9 +103,7 @@
<div class="col-xs-6 col-sm-3">
<div class="form-group required"
ng-class="{'has-error':imageForm.min_ram.$invalid && imageForm.min_ram.$dirty}">
<label class="control-label required">
<translate>Minimum RAM (MB)</translate><span class="hz-icon-required fa fa-asterisk"></span>
</label>
<label class="control-label required" translate>Minimum RAM (MB)</label>
<input id="imageForm-min_ram" name="min_ram"
type="number" class="form-control"
ng-required="true"