internal static string PasswordTemplate(HtmlHelper html) { return html.Password(String.Empty, html.ViewContext.ViewData.TemplateInfo.FormattedModelValue, CreateHtmlAttributes("text-box single-line password")).ToHtmlString(); }