|
|
|
@ -20,12 +20,7 @@
|
|
|
|
|
<abp-input asp-for="Tenant.Name" label="@L["TenantName"].Value" />
|
|
|
|
|
@foreach (var propertyInfo in ObjectExtensionManager.Instance.GetProperties<EditModalModel.TenantInfoModel>())
|
|
|
|
|
{
|
|
|
|
|
if (propertyInfo.Type.IsEnum)
|
|
|
|
|
{
|
|
|
|
|
<abp-select asp-for="Tenant.ExtraProperties[propertyInfo.Name]"
|
|
|
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)"></abp-select>
|
|
|
|
|
}
|
|
|
|
|
else if (!propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty())
|
|
|
|
|
if (propertyInfo.Type.IsEnum || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty())
|
|
|
|
|
{
|
|
|
|
|
<abp-select asp-for="Tenant.ExtraProperties[propertyInfo.Name]"
|
|
|
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)"
|
|
|
|
|