diff --git a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.html b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.html
index e9cc48aee3..7386177ea0 100644
--- a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.html
+++ b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.html
@@ -13,12 +13,13 @@
[formGroup]="formGroup"
[formLayout]="formLayout"
[displayCancel]="false"
+ [submitLabel]="submitLabel"
(submitForm)="onSubmit()">
-
+
diff --git a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts
index c5c9f8f954..5a7ab735ca 100644
--- a/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts
+++ b/src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts
@@ -165,6 +165,15 @@ export class EPersonFormComponent implements OnInit, OnDestroy {
*/
isImpersonated = false;
+ /**
+ * A boolean that indicate if to display EPersonForm's Rest password button
+ */
+ displayResetPassword = false;
+
+ /**
+ * A string that indicate the label of Submit button
+ */
+ submitLabel = 'form.create';
/**
* Subscription to email field value change
*/
@@ -188,6 +197,8 @@ export class EPersonFormComponent implements OnInit, OnDestroy {
this.epersonInitial = eperson;
if (hasValue(eperson)) {
this.isImpersonated = this.authService.isImpersonatingUser(eperson.id);
+ this.displayResetPassword = true;
+ this.submitLabel = 'form.submit';
}
}));
}
diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5
index a8fc1b1177..a964c9f1d1 100644
--- a/src/assets/i18n/en.json5
+++ b/src/assets/i18n/en.json5
@@ -1751,6 +1751,8 @@
"form.submit": "Save",
+ "form.create": "Create",
+
"form.repeatable.sort.tip": "Drop the item in the new position",