Nucleus .Net Core CMS

HtmlHelpers.TermsHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render an anchor (a) element which links to the site's Terms page.

Methods

Terms (IHtmlHelper,String,Object) Method

Terms (IHtmlHelper htmlHelper, String caption, Object htmlAttributes)
Returns an anchor (a) element which links to the site's Terms page.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
caption String

The inner text of the anchor element.

htmlAttributes Object
Remarks
If the site does not have a configured terms page, nothing is rendered.