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

The HTML helper instance that this method extends.

content
Content

The entity for which to generate a badge.

Returns

System.Web.Mvc.MvcHtmlString

A badge (span element).