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

            var result = t.BeginNestedSection(new HtmlString("Section Heading"), new HtmlString("<p>Hello</p>"), new { @class = "asdf" }.ToHtmlAttributes());

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

            var result = t.BeginNestedSection(new HtmlString("Section Heading"), new HtmlString("<p>Hello</p>"), new { @class = "asdf" }.ToHtmlAttributes());

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }
Exemplo n.º 3
0
        public void Begin_nested_section_without_leading_html_or_heading()
        {
            var t = new TwitterBootstrapFormTemplate();

            var result = t.BeginNestedSection();

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }
Exemplo n.º 4
0
        public void Begin_nested_section_without_leading_html_or_heading()
        {
            var t = new TwitterBootstrapFormTemplate();

            var result = t.BeginNestedSection();

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