HtmlHelperExtensions.ContentBadge Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

ContentBadge(HtmlHelper, Content)

Returns a badge with content status, i.e. editing, locked etc.

public static MvcHtmlString ContentBadge(this HtmlHelper html, Content content)

Parameters

html
System.Web.Mvc.HtmlHelper
content
Content

Returns

System.Web.Mvc.MvcHtmlString

A badge (span element).