Fix modal displaying and add image to application entity.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="card">
|
||||
<div class="content">
|
||||
<h1>Add a new application</h1>
|
||||
<form [formGroup]="form" (ngSubmit)="onSubmit()" ngNativeValidate>
|
||||
<div class="form-control">
|
||||
@@ -10,15 +10,19 @@
|
||||
<input id="service-name" formControlName="serviceName" placeholder="Enter service name" required/>
|
||||
</div>
|
||||
<div class="form-control">
|
||||
<label for="service-type">Type:</label>
|
||||
<label for="service-type">Type</label>
|
||||
<select id="service-type" formControlName="serviceType" placeholder="Enter service type">
|
||||
<option *ngFor="let type of serviceTypes" [value]="type.value">
|
||||
{{type.label}}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-control">
|
||||
<label for="image">Image</label>
|
||||
<input id="image" formControlName="image" placeholder="Enter image url" required/>
|
||||
</div>
|
||||
<div class="row action">
|
||||
<button type="button" class="secondary">Cancel</button>
|
||||
<button type="button" class="secondary" (click)="onCancel()">Cancel</button>
|
||||
<button type="submit">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user