Browse Source

Added Edit Role Form

pull/5575/head
Ahmet 6 years ago
parent
commit
58023861a3
  1. 20
      modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor

20
modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor

@ -113,15 +113,17 @@
<CloseButton Clicked="CloseEditModalAsync" /> <CloseButton Clicked="CloseEditModalAsync" />
</ModalHeader> </ModalHeader>
<ModalBody> <ModalBody>
<input type="hidden" name="ConcurrencyStamp" @bind-value="EditingEntity.ConcurrencyStamp" /> <EditForm id="IdentityRoleEditForm" Model="@EditingEntity" OnValidSubmit="UpdateEntityAsync">
<Field> <input type="hidden" name="ConcurrencyStamp" @bind-value="EditingEntity.ConcurrencyStamp" />
<FieldLabel>@L["DisplayName:RoleName"]</FieldLabel> <Field>
<TextEdit @bind-text="EditingEntity.Name" /> <FieldLabel>@L["DisplayName:RoleName"]</FieldLabel>
</Field> <TextEdit @bind-text="EditingEntity.Name" />
<Field> </Field>
<Check TValue="bool" @bind-checked="@EditingEntity.IsDefault">@L["DisplayName:IsDefault"]</Check> <Field>
<Check TValue="bool" @bind-checked="@EditingEntity.IsPublic">@L["DisplayName:IsPublic"]</Check> <Check TValue="bool" @bind-checked="@EditingEntity.IsDefault">@L["DisplayName:IsDefault"]</Check>
</Field> <Check TValue="bool" @bind-checked="@EditingEntity.IsPublic">@L["DisplayName:IsPublic"]</Check>
</Field>
</EditForm>
</ModalBody> </ModalBody>
<ModalFooter> <ModalFooter>
<Button Color="Color.Secondary" Clicked="CloseEditModalAsync">@L["Cancel"]</Button> <Button Color="Color.Secondary" Clicked="CloseEditModalAsync">@L["Cancel"]</Button>

Loading…
Cancel
Save