|
@@ -1,6 +1,6 @@
|
|
<div class="addHospital-w">
|
|
<div class="addHospital-w">
|
|
<div class="container">
|
|
<div class="container">
|
|
-
|
|
|
|
|
|
+
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="col-12">
|
|
<ul class="list-unstyled titileLi-w">
|
|
<ul class="list-unstyled titileLi-w">
|
|
@@ -10,12 +10,12 @@
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
<div class="containerContent-w">
|
|
<div class="containerContent-w">
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="col-12">
|
|
<form (ngSubmit)="onSubmitted()" [formGroup]="addHospitalForm">
|
|
<form (ngSubmit)="onSubmitted()" [formGroup]="addHospitalForm">
|
|
-
|
|
|
|
|
|
+
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
@@ -40,14 +40,15 @@
|
|
<select class="form-control" formControlName="display_location" id="displayLocation">
|
|
<select class="form-control" formControlName="display_location" id="displayLocation">
|
|
<option value="internal">داخليه</option>
|
|
<option value="internal">داخليه</option>
|
|
<option value="external">خارجيه</option>
|
|
<option value="external">خارجيه</option>
|
|
|
|
+ <option value="both">كلاهما</option>
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
<div formArrayName="fields" *ngFor="let titleControl of addHospitalForm.get('fields').controls; let i = index" style="padding: 20px 0;">
|
|
<div formArrayName="fields" *ngFor="let titleControl of addHospitalForm.get('fields').controls; let i = index" style="padding: 20px 0;">
|
|
<div class="form-group arrayGroupForm-w" [formGroupName]="i">
|
|
<div class="form-group arrayGroupForm-w" [formGroupName]="i">
|
|
-
|
|
|
|
|
|
+
|
|
<div class="row">
|
|
<div class="row">
|
|
<div class="col-12 col-md-6">
|
|
<div class="col-12 col-md-6">
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
@@ -55,17 +56,17 @@
|
|
<input type="text" id="title" class="form-control" formControlName="title" style="margin: 10px 0;" />
|
|
<input type="text" id="title" class="form-control" formControlName="title" style="margin: 10px 0;" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
<div class="col-12 col-md-6">
|
|
<div class="col-12 col-md-6">
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
<label for="title_en" style="float: right;">العنوان باللغه الإنجليزيه</label>
|
|
<label for="title_en" style="float: right;">العنوان باللغه الإنجليزيه</label>
|
|
<input type="text" id="title_en" class="form-control" formControlName="title_en" style="margin: 10px 0;" />
|
|
<input type="text" id="title_en" class="form-control" formControlName="title_en" style="margin: 10px 0;" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
<div class="col-12">
|
|
<div class="col-12">
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
<label id="description" style="float: right; margin: 10px 5px"> الوصف باللغه العربيه</label>
|
|
<label id="description" style="float: right; margin: 10px 5px"> الوصف باللغه العربيه</label>
|
|
@@ -73,8 +74,8 @@
|
|
</quill-editor>
|
|
</quill-editor>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
<div class="col-12">
|
|
<div class="col-12">
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
<label id="description_en" style="float: right; margin: 10px 5px">الوصف باللغه الإنجليزيه</label>
|
|
<label id="description_en" style="float: right; margin: 10px 5px">الوصف باللغه الإنجليزيه</label>
|
|
@@ -86,17 +87,17 @@
|
|
<div class="col-12">
|
|
<div class="col-12">
|
|
<button type="button" class="btn btn-danger rightW" (click)="removeTitle(i)" *ngIf="i == 0 ? false : true">حذف</button>
|
|
<button type="button" class="btn btn-danger rightW" (click)="removeTitle(i)" *ngIf="i == 0 ? false : true">حذف</button>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<button type="submit" class="btn btn-success rightW" [disabled]="!addHospitalForm.valid || checkSaveClick">حفظ</button>
|
|
<button type="submit" class="btn btn-success rightW" [disabled]="!addHospitalForm.valid || checkSaveClick">حفظ</button>
|
|
<button type="button" class="btn btn-warning rightW" (click)="authSer.backFromEdit()" style="margin: 33px 10px;">إلغاء</button>
|
|
<button type="button" class="btn btn-warning rightW" (click)="authSer.backFromEdit()" style="margin: 33px 10px;">إلغاء</button>
|
|
-
|
|
|
|
|
|
+
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-</div>
|
|
|
|
|
|
+</div>
|