feat: permissions localiztion.

This commit is contained in:
elforjani13
2021-12-27 22:05:17 +02:00
parent 62ab31efd2
commit 765f00d203
6 changed files with 378 additions and 166 deletions

View File

@@ -49,7 +49,7 @@ function InviteUserFormContent({
<FastField name={'role_id'}>
{({ form, field: { value }, meta: { error, touched } }) => (
<FormGroup
label={<T id={'roles.label.role_name'} />}
label={<T id={'invite_user.label.role_name'} />}
labelInfo={<FieldRequiredHint />}
helperText={<ErrorMessage name="role_id" />}
className={classNames(CLASSES.FILL, 'form-group--role_name')}