|
|
|
@ -16,15 +16,15 @@ |
|
|
|
<EditForm id="ChangePasswordForm" Model="@ChangePasswordModel" OnValidSubmit="ChangePasswordAsync"> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:CurrentPassword"]</FieldLabel> |
|
|
|
<TextEdit Role="@TextRole.Password" @bind-text="@ChangePasswordModel.CurrentPassword"/> |
|
|
|
<TextEdit Role="@TextRole.Password" @bind-Text="@ChangePasswordModel.CurrentPassword"/> |
|
|
|
</Field> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:NewPassword"]</FieldLabel> |
|
|
|
<TextEdit Role="@TextRole.Password" @bind-text="@ChangePasswordModel.NewPassword"/> |
|
|
|
<TextEdit Role="@TextRole.Password" @bind-Text="@ChangePasswordModel.NewPassword"/> |
|
|
|
</Field> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:NewPasswordConfirm"]</FieldLabel> |
|
|
|
<TextEdit Role="@TextRole.Password" @bind-text="@ChangePasswordModel.NewPasswordConfirm"/> |
|
|
|
<TextEdit Role="@TextRole.Password" @bind-Text="@ChangePasswordModel.NewPasswordConfirm"/> |
|
|
|
</Field> |
|
|
|
<Field> |
|
|
|
<Button form="ChangePasswordForm" Color="Color.Primary" Clicked="@ChangePasswordAsync">@L["Save"]</Button> |
|
|
|
@ -38,25 +38,25 @@ |
|
|
|
<EditForm id="UpdatePersonalInfoForm" Model="@PersonalInfoModel" OnValidSubmit="UpdatePersonalInfoAsync"> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:UserName"]</FieldLabel> |
|
|
|
<TextEdit @bind-text="@PersonalInfoModel.UserName"/> |
|
|
|
<TextEdit @bind-Text="@PersonalInfoModel.UserName"/> |
|
|
|
</Field> |
|
|
|
<Fields> |
|
|
|
<Field ColumnSize="ColumnSize.Is6"> |
|
|
|
<FieldLabel>@L["DisplayName:Name"]</FieldLabel> |
|
|
|
<TextEdit @bind-text="@PersonalInfoModel.Name"/> |
|
|
|
<TextEdit @bind-Text="@PersonalInfoModel.Name"/> |
|
|
|
</Field> |
|
|
|
<Field ColumnSize="ColumnSize.Is6"> |
|
|
|
<FieldLabel>@L["DisplayName:Surname"]</FieldLabel> |
|
|
|
<TextEdit @bind-text="@PersonalInfoModel.Surname"/> |
|
|
|
<TextEdit @bind-Text="@PersonalInfoModel.Surname"/> |
|
|
|
</Field> |
|
|
|
</Fields> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:Email"]</FieldLabel> |
|
|
|
<TextEdit @bind-text="@PersonalInfoModel.Email"/> |
|
|
|
<TextEdit @bind-Text="@PersonalInfoModel.Email"/> |
|
|
|
</Field> |
|
|
|
<Field> |
|
|
|
<FieldLabel>@L["DisplayName:PhoneNumber"]</FieldLabel> |
|
|
|
<TextEdit @bind-text="@PersonalInfoModel.PhoneNumber"/> |
|
|
|
<TextEdit @bind-Text="@PersonalInfoModel.PhoneNumber"/> |
|
|
|
</Field> |
|
|
|
<Field> |
|
|
|
<Button form="UpdatePersonalInfoForm" Color="Color.Primary" Clicked="@UpdatePersonalInfoAsync">@L["Save"]</Button> |
|
|
|
|