Browse Source
Merge pull request #6744 from abpframework/maliming/InputInfoText
Add localizedText to InnerHtml of small tag.
pull/6759/head
liangshiwei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
0 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpInputTagHelperService.cs
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/AbpSelectTagHelperService.cs
|
|
@ -317,6 +317,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form |
|
|
var small = new TagBuilder("small"); |
|
|
var small = new TagBuilder("small"); |
|
|
small.Attributes.Add("id", idAttr?.Value?.ToString() + "InfoText"); |
|
|
small.Attributes.Add("id", idAttr?.Value?.ToString() + "InfoText"); |
|
|
small.AddCssClass("form-text text-muted"); |
|
|
small.AddCssClass("form-text text-muted"); |
|
|
|
|
|
small.InnerHtml.Append(localizedText); |
|
|
|
|
|
|
|
|
return small.ToHtmlString(); |
|
|
return small.ToHtmlString(); |
|
|
} |
|
|
} |
|
|
|
|
|
@ -233,6 +233,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form |
|
|
var small = new TagBuilder("small"); |
|
|
var small = new TagBuilder("small"); |
|
|
small.Attributes.Add("id", idAttr?.Value?.ToString() + "InfoText"); |
|
|
small.Attributes.Add("id", idAttr?.Value?.ToString() + "InfoText"); |
|
|
small.AddCssClass("form-text text-muted"); |
|
|
small.AddCssClass("form-text text-muted"); |
|
|
|
|
|
small.InnerHtml.Append(localizedText); |
|
|
|
|
|
|
|
|
return small.ToHtmlString(); |
|
|
return small.ToHtmlString(); |
|
|
} |
|
|
} |
|
|
|