|
|
|
@ -6,6 +6,7 @@
|
|
|
|
|
@using Volo.Abp.Identity.Web.Pages.Identity.Users
|
|
|
|
|
@using Volo.Abp.Localization
|
|
|
|
|
@using Volo.Abp.ObjectExtending
|
|
|
|
|
@using Volo.Abp.Data
|
|
|
|
|
@model EditModalModel
|
|
|
|
|
@inject IHtmlLocalizer<IdentityResource> L
|
|
|
|
|
@inject IStringLocalizerFactory StringLocalizerFactory
|
|
|
|
@ -17,8 +18,7 @@
|
|
|
|
|
<abp-modal-header title="@L["Edit"].Value"></abp-modal-header>
|
|
|
|
|
<abp-modal-body>
|
|
|
|
|
<abp-tabs name="create-user-modal-tabs">
|
|
|
|
|
<abp-tab title="@L["UserInformations"].Value">
|
|
|
|
|
@* TODO: Can we use dynamic form? *@
|
|
|
|
|
<abp-tab title="@L["UserInformations"].Value">
|
|
|
|
|
<input asp-for="UserInfo.Id" />
|
|
|
|
|
<input asp-for="UserInfo.ConcurrencyStamp" />
|
|
|
|
|
<abp-input asp-for="UserInfo.UserName" />
|
|
|
|
@ -38,8 +38,8 @@
|
|
|
|
|
<abp-select asp-for="UserInfo.ExtraProperties[propertyInfo.Name]"
|
|
|
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)"
|
|
|
|
|
autocomplete-api-url="@propertyInfo.Lookup.Url"
|
|
|
|
|
autocomplete-selected-item-name="@Model.UserInfo.ExtraProperties[propertyInfo.Name+"_Text"]"
|
|
|
|
|
autocomplete-selected-item-value="@Model.UserInfo.ExtraProperties[propertyInfo.Name]"
|
|
|
|
|
autocomplete-selected-item-name="@Model.UserInfo.GetProperty(propertyInfo.Name+"_Text")"
|
|
|
|
|
autocomplete-selected-item-value="@Model.UserInfo.GetProperty(propertyInfo.Name)"
|
|
|
|
|
autocomplete-filter-param-name="@propertyInfo.Lookup.FilterParamName"
|
|
|
|
|
autocomplete-items-property-name="@propertyInfo.Lookup.ResultListPropertyName"
|
|
|
|
|
autocomplete-display-property-name="@propertyInfo.Lookup.DisplayPropertyName"
|
|
|
|
@ -51,7 +51,7 @@
|
|
|
|
|
asp-for="UserInfo.ExtraProperties[propertyInfo.Name]"
|
|
|
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)"
|
|
|
|
|
asp-format="@propertyInfo.GetInputFormatOrNull()"
|
|
|
|
|
value="@propertyInfo.GetInputValueOrNull(Model.UserInfo.ExtraProperties[propertyInfo.Name])" />
|
|
|
|
|
value="@Model.UserInfo.GetProperty(propertyInfo.Name)" />
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|