parent
6ad6be8924
commit
188ac0757f
2 changed files with 5 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
.keycloak__form {
|
||||
max-width: 1024px;
|
||||
margin-bottom: 52px;
|
||||
}
|
||||
|
||||
label.pf-c-form__label {
|
||||
|
|
|
@ -9,14 +9,14 @@ type SaveResetProps = ActionGroupProps & {
|
|||
};
|
||||
|
||||
export const SaveReset = ({ name, save, reset, ...rest }: SaveResetProps) => {
|
||||
const { t } = useTranslation();
|
||||
const { t } = useTranslation("common");
|
||||
return (
|
||||
<ActionGroup {...rest}>
|
||||
<Button data-testid={name + "Save"} variant="tertiary" onClick={save}>
|
||||
{t("common:save")}
|
||||
<Button data-testid={name + "Save"} onClick={save}>
|
||||
{t("save")}
|
||||
</Button>
|
||||
<Button data-testid={name + "Revert"} variant="link" onClick={reset}>
|
||||
{t("common:revert")}
|
||||
{t("revert")}
|
||||
</Button>
|
||||
</ActionGroup>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue