Added component to change designation
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<div class="bg-white rounded-xl p-5 shadow-sm border border-gray-200">
|
||||
<form [formGroup]="designationForm" class="space-y-5">
|
||||
<div class="space-y-3 max-h-[70vh] overflow-y-auto">
|
||||
<ion-label class="text-sm text-gray-500 block">
|
||||
Choisis ton titre de préstige
|
||||
</ion-label>
|
||||
|
||||
<ion-radio-group formControlName="designationId">
|
||||
@for (designation of designations(); track designation.id) {
|
||||
<ion-item lines="none" class="rounded-lg border border-gray-100">
|
||||
<ion-radio [value]="designation.id" class="text-sm text-gray-700">{{ designation.label }}
|
||||
</ion-radio>
|
||||
</ion-item>
|
||||
}
|
||||
</ion-radio-group>
|
||||
</div>
|
||||
|
||||
<ion-button expand="block"
|
||||
class="mt-6 rounded-xl font-medium"
|
||||
style="--background: #1f2937;"
|
||||
(click)="updateDesignation()">
|
||||
Modifier
|
||||
</ion-button>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user