public static IHtmlString CustomMessagesBox(this HtmlHelper html, IMessagesIndicator messages, string id = null, IDictionary<string, string> attributes = null) { if (string.IsNullOrWhiteSpace(id)) { id = string.Format("bcms-custom-messages-{0}", Guid.NewGuid()); } return MessagesBox(html, id, attributes, cssClassMessages + " " + cssClassCustomMessages, messages); }