|
|
@ -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> |
|
|
|