Ejemplo n.º 1
0
        public void Output_submit_button_with_non_default_style_or_size()
        {
            var t = new TwitterBootstrapFormTemplate();

            var result = new ButtonHtmlAttributes(h => t.Button(new HtmlString("content"), "submit", null, null, h))
                         .WithStyle(EmphasisStyle.Danger).WithSize(ButtonSize.Large).WithIcon("star");

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }
Ejemplo n.º 2
0
        public void Output_submit_button_with_non_default_style_or_size()
        {
            var t = new TwitterBootstrapFormTemplate();

            var result = new ButtonHtmlAttributes(h => t.Button(new HtmlString("content"), "submit", null, null, h))
                .WithStyle(EmphasisStyle.Danger).WithSize(ButtonSize.Large).WithIcon("star");

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }