Asset make should not be required (e.g. VMs)

This commit is contained in:
Marcus Hill 2022-01-30 19:25:46 +00:00
parent f3593fe623
commit f870688efe
2 changed files with 4 additions and 4 deletions

View File

@ -66,12 +66,12 @@
<?php //Do not display Make Model or Serial if Virtual is selected
if($_GET['type'] !== 'virtual'){ ?>
<div class="form-group">
<label>Make <strong class="text-danger">*</strong></label>
<label>Make </label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
</div>
<input type="text" class="form-control" name="make" placeholder="Manufacturer" required>
<input type="text" class="form-control" name="make" placeholder="Manufacturer">
</div>
</div>

View File

@ -65,12 +65,12 @@
<?php //Do not display Make Model or Serial if Virtual is selected
if($asset_type !== 'virtual'){ ?>
<div class="form-group">
<label>Make <strong class="text-danger">*</strong></label>
<label>Make </label>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-fw fa-tag"></i></span>
</div>
<input type="text" class="form-control" name="make" placeholder="Manufacturer" value="<?php echo $asset_make; ?>" required>
<input type="text" class="form-control" name="make" placeholder="Manufacturer" value="<?php echo $asset_make; ?>">
</div>
</div>