|
|
|
@ -20,9 +20,19 @@ |
|
|
|
<abp-input asp-for="Tenant.Name" label="@L["TenantName"].Value" /> |
|
|
|
@foreach (var propertyInfo in ObjectExtensionManager.Instance.GetProperties<EditModalModel.TenantInfoModel>()) |
|
|
|
{ |
|
|
|
<abp-input type="@propertyInfo.GetInputType()" |
|
|
|
asp-for="Tenant.ExtraProperties[propertyInfo.Name]" |
|
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)" /> |
|
|
|
if (propertyInfo.Type.IsEnum) |
|
|
|
{ |
|
|
|
<abp-select asp-for="Tenant.ExtraProperties[propertyInfo.Name]" |
|
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)"></abp-select> |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
<abp-input type="@propertyInfo.GetInputType()" |
|
|
|
asp-for="Tenant.ExtraProperties[propertyInfo.Name]" |
|
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)" |
|
|
|
asp-format="@propertyInfo.GetInputFormatOrNull()" |
|
|
|
value="@propertyInfo.GetInputValueOrNull(Model.Tenant.ExtraProperties[propertyInfo.Name])" /> |
|
|
|
} |
|
|
|
} |
|
|
|
</abp-modal-body> |
|
|
|
<abp-modal-footer buttons="@(AbpModalButtons.Cancel|AbpModalButtons.Save)"></abp-modal-footer> |
|
|
|
|